From c92f79cf7504b4bcad6c44f8e2f333fc68e17c03 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 12 Dec 2023 17:23:35 +0100 Subject: [PATCH] fix: longer timeout --- test/test.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.test.ts b/test/test.test.ts index ef98394..8cf64b3 100644 --- a/test/test.test.ts +++ b/test/test.test.ts @@ -23,7 +23,7 @@ beforeAll(async () => { // } server = app.listen(TEST_PORT) console.log('✅ Server started') -}) +}, 30000) afterAll(async () => { server?.close() @@ -43,7 +43,7 @@ describe('PubPub', () => { })) expect(pub).toBeTruthy() - }) + }, 30000) it('should be able to return something through normal api calls', async () => { const res = await fetch(`${TEST_URL}/api/pubs/many`, {