mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00

* rename method * Update ui-components.md * clean up jest * docs: add pages to ui components * Update ui-components.yml * chore: add some example docs
16 lines
304 B
TypeScript
16 lines
304 B
TypeScript
import '@testing-library/jest-dom';
|
|
import '@testing-library/jest-dom/extend-expect';
|
|
import 'whatwg-fetch';
|
|
|
|
import { server } from './server';
|
|
|
|
beforeAll(() => {
|
|
server.listen({
|
|
onUnhandledRequest: 'warn',
|
|
});
|
|
});
|
|
afterEach(() => server.resetHandlers());
|
|
afterAll(() => {
|
|
server.close();
|
|
});
|