diff --git a/imports/_test/fixtures.ts b/imports/_test/fixtures.ts index 93cf716ea..9b9fdf3fb 100644 --- a/imports/_test/fixtures.ts +++ b/imports/_test/fixtures.ts @@ -125,7 +125,7 @@ export const server = (title, fn) => { }; describe(title, function () { - this.timeout(isAppTest() ? 10_000: 1000); + this.timeout(isAppTest() ? 10_000: 500); beforeEach(prepare); fn(); afterEach(cleanup); diff --git a/imports/lib/pdf/pdf.tests.ts b/imports/lib/pdf/pdf.tests.ts index 805d3c0c9..93c6a22f0 100644 --- a/imports/lib/pdf/pdf.tests.ts +++ b/imports/lib/pdf/pdf.tests.ts @@ -14,5 +14,5 @@ server(__filename, () => { it('should work on the server', async () => { const data = randomPDFUint8Array(); await fetchPDF({data}); - }); + }).timeout(1000); }); diff --git a/server/api/rateLimit.tests.ts b/server/api/rateLimit.tests.ts index 1ce3cb896..4a21246d6 100644 --- a/server/api/rateLimit.tests.ts +++ b/server/api/rateLimit.tests.ts @@ -329,5 +329,5 @@ server(__filename, () => { assert.strictEqual(response.text, 'Too Many Requests'); } } - }); + }).timeout(2000); });