mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
e7ebccb61d
* update major dependencies, remove old nodejs support * Update ci.yml * restore dep
14 lines
254 B
TypeScript
14 lines
254 B
TypeScript
import '@testing-library/jest-dom';
|
|
import 'whatwg-fetch';
|
|
|
|
import { server } from './server';
|
|
|
|
beforeAll(() => {
|
|
server.listen({
|
|
onUnhandledRequest: 'warn',
|
|
});
|
|
});
|
|
afterEach(() => server.resetHandlers());
|
|
afterAll(() => {
|
|
server.close();
|
|
});
|