test: stub Web Locks where the runtime lacks them

This commit is contained in:
2026-09-05 18:58:04 +02:00
parent 4caa075052
commit e6fef1e9cb
2 changed files with 64 additions and 0 deletions
+3
View File
@@ -14,5 +14,8 @@ export default defineConfig({
// jsdom. The ops suite spins real mock-mint HTTP servers on loopback.
environment: 'node',
include: ['src/**/*.test.ts'],
// Node 22 (CI) has no navigator.locks; install a passthrough
// LockManager where it is absent so the suite is hermetic
setupFiles: ['./vitest.setup.ts'],
},
});