test(global-hooks): truncate config table

This commit is contained in:
Ali BARIN
2024-05-07 15:36:17 +00:00
parent ae188bc563
commit 717c81fa2b

View File

@@ -8,7 +8,7 @@ global.beforeAll(async () => {
logger.silent = true;
// 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 () => {