fix tests. msw has issues on firefox with vitest isolation.

This commit is contained in:
Henry Jameson 2026-06-18 19:58:50 +03:00
commit 9d24782cd8
11 changed files with 592 additions and 863 deletions

8
test/fixtures/worker.js vendored Normal file
View file

@ -0,0 +1,8 @@
import { setupWorker } from 'msw/browser'
export const worker = setupWorker()
console.log('=============== TEST ===============')
console.log(window.__test__)
console.log('=============== TEST ===============')
window.__test__ = window.__test__ || 'TEST'