mirror of
https://github.com/tompro/sattle.git
synced 2026-10-26 01:49:58 +00:00
test: stub Web Locks where the runtime lacks them
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user