From f93a87e03da06f25ebc142f47e4e8b2384ccdc7b Mon Sep 17 00:00:00 2001 From: Jay Quan Date: Fri, 8 Sep 2023 14:32:17 +0200 Subject: [PATCH] test --- src/__tests__/acceptance/logbook.controller.acceptance.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/__tests__/acceptance/logbook.controller.acceptance.ts b/src/__tests__/acceptance/logbook.controller.acceptance.ts index da73f90..2ef5fb6 100644 --- a/src/__tests__/acceptance/logbook.controller.acceptance.ts +++ b/src/__tests__/acceptance/logbook.controller.acceptance.ts @@ -15,11 +15,12 @@ describe("LogbookController (acceptance)", () => { }); context("find", () => { - it("should resolve in a 401 code with unauthenticated user", async () => { + it("should resolve in a 401 code with unauthenticated user", async (done) => { await client.get("/scichatapi/Logbooks").then((res) => { expect(res.statusCode).equal(401); }); - }); + done(); + }).timeout(10000); }); context("findByName", () => {