FIX - make Flare picker contract newline agnostic

Match the shared photo source sheet with whitespace-tolerant markup so the contract behaves identically on LF and CRLF checkouts.
This commit is contained in:
Dominik
2026-08-16 20:36:29 +02:00
parent e062ed083f
commit eb18190709
@@ -42,8 +42,8 @@ describe('FlareApp profile editing contract', () => {
const mediaApp = source.slice(mediaAppStart, mediaAppEnd)
expect(source.match(/@click="openPhotoSourcePicker"/g)).toHaveLength(2)
expect(source).toContain(
'<sky-action-sheet\n id="flare-photo-source-sheet"',
expect(source).toMatch(
/<sky-action-sheet\s+id=["']flare-photo-source-sheet["']/,
)
expect(source).toContain(
'<sky-action-button bold @click="openProfileMediaApp(\'photos\')">',