fix tests. msw has issues on firefox with vitest isolation.
This commit is contained in:
parent
f3c77afff1
commit
9d24782cd8
11 changed files with 592 additions and 863 deletions
8
test/fixtures/worker.js
vendored
Normal file
8
test/fixtures/worker.js
vendored
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue