mirror of
https://github.com/strapi/strapi.git
synced 2025-08-02 22:07:11 +00:00

chore: add test setup to helper-plugin test: add useRBAC suite refactor: useRBAC hook to stop infinite loop chore: shuffle around and add jsdocs
14 lines
166 B
JavaScript
14 lines
166 B
JavaScript
import { server } from './server';
|
|
|
|
beforeAll(() => {
|
|
server.listen();
|
|
});
|
|
|
|
afterEach(() => {
|
|
server.resetHandlers();
|
|
});
|
|
|
|
afterAll(() => {
|
|
server.close();
|
|
});
|