test(global-hooks): truncate config table
This commit is contained in:
@@ -8,7 +8,7 @@ global.beforeAll(async () => {
|
|||||||
logger.silent = true;
|
logger.silent = true;
|
||||||
|
|
||||||
// Remove default roles and permissions before running the test suite
|
// Remove default roles and permissions before running the test suite
|
||||||
await knex.raw('TRUNCATE TABLE roles, permissions CASCADE');
|
await knex.raw('TRUNCATE TABLE config, roles, permissions CASCADE');
|
||||||
});
|
});
|
||||||
|
|
||||||
global.beforeEach(async () => {
|
global.beforeEach(async () => {
|
||||||
|
Reference in New Issue
Block a user