diff --git a/server/tests/integration/dataManagement.test.js b/server/tests/integration/dataManagement.test.js index 2af19a51b..e991431d5 100644 --- a/server/tests/integration/dataManagement.test.js +++ b/server/tests/integration/dataManagement.test.js @@ -3,9 +3,7 @@ const dbCleaner = require('../util/db-cleaner'); const { query, mutate } = require('../util/graphql-test-utilities'); const db = require('../../models'); -beforeAll(async () => { - jest.setTimeout(20000); -}); +jest.setTimeout(20000); afterAll(async () => { // Closing the DB connection allows Jest to exit successfully.