Skip to content

Commit

Permalink
jest.setTimeout outside of the beforeAll
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag committed Nov 6, 2023
1 parent f965957 commit 47b6bd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/tests/integration/dataManagement.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 47b6bd3

Please sign in to comment.