Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed Sep 8, 2023
1 parent 7373a1f commit f93a87e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/__tests__/acceptance/logbook.controller.acceptance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down

0 comments on commit f93a87e

Please sign in to comment.