test(global-hooks): truncate config table

This commit is contained in:
Ali BARIN
2024-05-13 13:31:16 +00:00
parent ae188bc563
commit 717c81fa2b
+1 -1
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 () => {