mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05: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();
|
||
|
});
|