From 58008517db2c93405d1ecabcdac36f305f9663a1 Mon Sep 17 00:00:00 2001 From: mkurczewski Date: Mon, 2 Dec 2024 19:41:22 +0100 Subject: [PATCH] Test fix --- libs/core/__deprecated__/main/auth-server.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/__deprecated__/main/auth-server.test.ts b/libs/core/__deprecated__/main/auth-server.test.ts index 250f0016ee..22c62fca4e 100644 --- a/libs/core/__deprecated__/main/auth-server.test.ts +++ b/libs/core/__deprecated__/main/auth-server.test.ts @@ -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 () => {