mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-18 00:24:48 +03:00
99bc68fa14
Refresh Go, frontend, and documentation dependencies, including MSW 3 and pnpm 12.8.1. Update the MSW test setup to use the renamed `onUnhandledFrame` option.
8 lines
235 B
TypeScript
8 lines
235 B
TypeScript
import { afterAll, afterEach, beforeAll } from 'vitest';
|
|
|
|
import { server } from './msw/server';
|
|
|
|
beforeAll(() => server.listen({ onUnhandledFrame: 'bypass' }));
|
|
afterEach(() => server.resetHandlers());
|
|
afterAll(() => server.close());
|