fix tests
This commit is contained in:
parent
2197c030de
commit
ae600da287
1 changed files with 2 additions and 1 deletions
3
test/fixtures/mock_api.js
vendored
3
test/fixtures/mock_api.js
vendored
|
|
@ -8,7 +8,8 @@ export const injectMswToTest = (defaultHandlers) => {
|
||||||
|
|
||||||
return testBase.extend({
|
return testBase.extend({
|
||||||
worker: [
|
worker: [
|
||||||
async (_, use) => {
|
// biome-ignore lint: required by vitest
|
||||||
|
async ({}, use) => {
|
||||||
await worker.start()
|
await worker.start()
|
||||||
|
|
||||||
await use(worker)
|
await use(worker)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue