blob: 0abb5f381da7d049334fba4880d183c1ddc6281a (
plain)
1
2
3
4
5
6
|
import { afterAll, afterEach, beforeAll } from 'vitest';
import { server } from './mocks/server';
beforeAll(() => server.listen({ onUnhandledRequest: 'error' }));
afterAll(() => server.close());
afterEach(() => server.resetHandlers());
|