From e907f1184d22d84eb3ab32ea2681b8cef643a6f1 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 28 Nov 2024 16:09:20 +0100 Subject: [PATCH] prettier --- api_tests/src/user.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api_tests/src/user.spec.ts b/api_tests/src/user.spec.ts index 89f26c4ff..2521472ec 100644 --- a/api_tests/src/user.spec.ts +++ b/api_tests/src/user.spec.ts @@ -119,7 +119,9 @@ test("Requests with invalid auth should be treated as unauthenticated", async () headers: { Authorization: "Bearer foobar" }, fetchFunction, }); - await expect(getMyUser(invalid_auth)).rejects.toStrictEqual(Error("incorrect_login")); + await expect(getMyUser(invalid_auth)).rejects.toStrictEqual( + Error("incorrect_login"), + ); let site = await getSite(invalid_auth); expect(site.site_view).toBeDefined();