mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 09:13:24 +00:00
ADD - introduce advanced phone setup and reset flow
This commit is contained in:
@@ -10,12 +10,15 @@ describe('browser development preview contract', () => {
|
||||
"developmentParameters.has('lockScreenPreview')",
|
||||
)
|
||||
expect(source).toContain(
|
||||
'isLocked.value = !isDevelopment || developmentLockScreenPreview',
|
||||
': !isDevelopment || developmentLockScreenPreview',
|
||||
)
|
||||
expect(source).toContain("developmentParameters.has('setupPreview')")
|
||||
})
|
||||
|
||||
it('loads authenticated app data without replacing direct app routes', () => {
|
||||
expect(source).toContain("if (isLocked.value) void router.replace('/')")
|
||||
expect(source).toContain(
|
||||
"if (isLocked.value || setupRequired.value) void router.replace('/')",
|
||||
)
|
||||
expect(source).toContain('else loadUnlockedPhoneData()')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user