Skip to content

Commit

Permalink
Further experimentation with adjusting timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag committed Nov 6, 2023
1 parent 662aed9 commit a2c1b71
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions server/tests/integration/dataManagement.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ const dbCleaner = require('../util/db-cleaner');
const { query, mutate } = require('../util/graphql-test-utilities');
const db = require('../../models');

afterAll(async () => {
// Closing the DB connection allows Jest to exit successfully.
await db.sequelize.close();
}, 40000);
jest.setTimeout(40000);

describe('data management', () => {
beforeAll(() => {
jest.setTimeout(40000);
});
afterAll(async () => {
// Closing the DB connection allows Jest to exit successfully.
await db.sequelize.close();
}, 40000);

const testPlanVersionsQuery = () => {
return query(gql`
Expand Down

0 comments on commit a2c1b71

Please sign in to comment.