mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
16 lines
304 B
TypeScript
16 lines
304 B
TypeScript
|
import '@testing-library/jest-dom/extend-expect';
|
||
|
import 'whatwg-fetch';
|
||
|
import '@testing-library/jest-dom';
|
||
|
|
||
|
import { server } from './server';
|
||
|
|
||
|
beforeAll(() => {
|
||
|
server.listen({
|
||
|
onUnhandledRequest: 'warn',
|
||
|
});
|
||
|
});
|
||
|
afterEach(() => server.resetHandlers());
|
||
|
afterAll(() => {
|
||
|
server.close();
|
||
|
});
|