From 19f5ba15f8d29b21aedf5e487528f9428f73ba93 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Thu, 19 Oct 2023 19:23:50 +0200 Subject: [PATCH] chore: More frequent database cleanups in between integration tests --- playground/__tests__/import-on-boostrap.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/__tests__/import-on-boostrap.test.js b/playground/__tests__/import-on-boostrap.test.js index 355ba63..3602d92 100644 --- a/playground/__tests__/import-on-boostrap.test.js +++ b/playground/__tests__/import-on-boostrap.test.js @@ -5,7 +5,7 @@ const { setupStrapi, cleanupStrapi } = require('./helpers'); jest.setTimeout(20000); -afterAll(async () => { +afterEach(async () => { // Disable importOnBootstrap await exec('sed -i "s/importOnBootstrap: true/importOnBootstrap: false/g" config/plugins.js');