test(global-hooks): truncate config table

This commit is contained in:
Ali BARIN
2024-05-07 15:36:17 +00:00
parent b89ba1e623
commit a2df7c1e89

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 () => {