feat(report): add annotated wrinkle views and restore capture countdown
This commit is contained in:
@@ -70,6 +70,9 @@ now += 150; state.onDetect(face); assert.equal(captures, 2, 'vibration failure m
|
||||
for (const manual of [true, false]) {
|
||||
let manualBuzzes = 0, scheduled = [];
|
||||
const shutter = { shutterLock: false, camLive: true, capturing: false, camSeq: 1,
|
||||
currentScreen:'s-cam', VOICE:{countdown:'countdown-321'},
|
||||
voice:{dropHint:()=>{},play:(_,opts)=>opts.onStart(3000),afterCurrent:cb=>cb()},
|
||||
startCaptureCountdown:(_,duration,done)=>done(),
|
||||
isManualMode: () => manual, navigator: { vibrate: () => { manualBuzzes++; throw Error('blocked'); } },
|
||||
clearTimeout: () => {}, nudgeTimer: null, hideNudge: () => {},
|
||||
$: () => ({ classList: { add: () => {} } }), setTimeout: (_, ms) => scheduled.push(ms) };
|
||||
|
||||
Reference in New Issue
Block a user