chore: Upgrade to Vitest 4 and regroup tests for performance (#2618)

This commit is contained in:
Dermot Duffy
2026-07-26 11:28:58 -07:00
committed by GitHub
parent a0fd464d23
commit 0c3d46ad3d
36 changed files with 1041 additions and 1207 deletions
@@ -242,14 +242,14 @@ export class CameraTriggersManager {
} else if (ev.fidelity === 'high' && triggerAction === 'media') {
// Choose the most appropriate media view based on what's available.
// Priority: review > clip > snapshot
/* istanbul ignore next: the `null` case is unreachable due to `skipViewAction` above -- @preserve */
const view = ev.review
? 'review'
: ev.clip
? 'clip'
: ev.snapshot
? 'snapshot'
: /* istanbul ignore next: unreachable due to `skipViewAction` above -- @preserve */
null;
: null;
/* istanbul ignore next: unreachable due to `skipViewAction` above -- @preserve */
if (view) {