chore: More frequent database cleanups in between integration tests

pull/111/head
Boaz Poolman 2023-10-19 19:23:50 +02:00
parent 991da15d52
commit 19f5ba15f8
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const { setupStrapi, cleanupStrapi } = require('./helpers');
jest.setTimeout(20000); jest.setTimeout(20000);
afterAll(async () => { afterEach(async () => {
// Disable importOnBootstrap // Disable importOnBootstrap
await exec('sed -i "s/importOnBootstrap: true/importOnBootstrap: false/g" config/plugins.js'); await exec('sed -i "s/importOnBootstrap: true/importOnBootstrap: false/g" config/plugins.js');