mirror of
https://github.com/strapi/strapi.git
synced 2025-09-16 12:02:41 +00:00

* chore(helper-plugin)!: move useRBAC * chore: get tests working * chore!: remove auth * chore!: remove usePersistentState * fix: refactor building admin package so it shares modules with different entries * fix: session vs local
14 lines
189 B
TypeScript
14 lines
189 B
TypeScript
import { server } from '@strapi/admin/strapi-admin/test';
|
|
|
|
beforeAll(() => {
|
|
server.listen();
|
|
});
|
|
|
|
afterEach(() => {
|
|
server.resetHandlers();
|
|
});
|
|
|
|
afterAll(() => {
|
|
server.close();
|
|
});
|