mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-29 01:08:59 +00:00
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:
@@ -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\')">',
|
||||
|
||||
Reference in New Issue
Block a user