From 441580a9b6e986918eaff863a92911945aff2468 Mon Sep 17 00:00:00 2001 From: Louis Capitanchik <contact@louiscap.co> Date: Tue, 19 Apr 2022 19:03:31 +0100 Subject: [PATCH] Increase Jest timeout --- package.json | 3 +++ tests/integration/system/SafeMode.test.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ea10a55..08bbd4d 100644 --- a/package.json +++ b/package.json @@ -78,5 +78,8 @@ "prettier": "^2.2.1", "supertest": "^6.1.3", "umzug": "^3.1.1" + }, + "jest": { + "testTimeout": 30000 } } diff --git a/tests/integration/system/SafeMode.test.js b/tests/integration/system/SafeMode.test.js index 9b5ddb2..9b880b1 100644 --- a/tests/integration/system/SafeMode.test.js +++ b/tests/integration/system/SafeMode.test.js @@ -8,5 +8,5 @@ test('Safe Mode Blocks Mutations', async () => { .post('/api/v2/metrics') .set('Accept', 'application/json') - expect(response.status).toBe(5400) + expect(response.status).toBe(503) }) \ No newline at end of file -- GitLab