Skip to content

Commit

Permalink
Fix test failing on main
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-balitskyi committed Dec 6, 2024
1 parent 3c52a55 commit 69f95e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/middleware/with-client-session.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test("withClientSession middleware - successful auth", async (t) => {
)

t.is(missingAuthErr?.status, 401)
t.is(missingAuthErr?.response, "Unauthorized")
t.is(missingAuthErr?.response.error.type, "unauthorized")

// Test invalid client session token format
const invalidTokenErr = await t.throwsAsync<SimpleAxiosError>(
Expand Down

0 comments on commit 69f95e9

Please sign in to comment.