mirror of
https://github.com/strapi/strapi.git
synced 2025-07-20 07:27:06 +00:00

* chore: add test utils * test(upload): fix useModalQueryParams * test(upload): fix TableRows * test(upload): fix useConfig test * test(upload): fix useFolder tests * test(upload): fix useFolders test * test(upload): fix SettingsPage tests * test(upload): fix UploadAssetDialog tests * test(upload): fix CarouselAssets tests
14 lines
166 B
JavaScript
14 lines
166 B
JavaScript
import { server } from './server';
|
|
|
|
beforeAll(() => {
|
|
server.listen();
|
|
});
|
|
|
|
afterEach(() => {
|
|
server.resetHandlers();
|
|
});
|
|
|
|
afterAll(() => {
|
|
server.close();
|
|
});
|