Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurczewski committed Dec 2, 2024
1 parent e039a8f commit 5800851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/__deprecated__/main/auth-server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test("server should return an error when method is not POST", async () => {

await expect(
async () => await axios.get(`http://localhost:${authServerPort}`)
).rejects.toThrowError(Error("Request failed with status code 400"))
).rejects.toThrow()
})

test("server should run the callback function", async () => {
Expand Down

0 comments on commit 5800851

Please sign in to comment.