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

* fix(admin): reset all redux toolkit cache on logout * chore: refactor API to use one createApi call from redux/toolkit * chore: fix e2e suite * chore: spelling error Co-authored-by: Bassel Kanso <basselkanso82@gmail.com> * chore: remove rogue import --------- Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
14 lines
166 B
TypeScript
14 lines
166 B
TypeScript
import { server } from './server';
|
|
|
|
beforeAll(() => {
|
|
server.listen();
|
|
});
|
|
|
|
afterEach(() => {
|
|
server.resetHandlers();
|
|
});
|
|
|
|
afterAll(() => {
|
|
server.close();
|
|
});
|