1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

Fix jest/valid-expects lints (#11238)

This commit is contained in:
Michael Telatynski
2023-07-13 16:19:44 +01:00
committed by GitHub
parent d7d60a3255
commit f5f31eb7d8
7 changed files with 27 additions and 26 deletions

View File

@@ -114,7 +114,7 @@ describe("OIDC authorization", () => {
});
it("should throw when query params do not include state and code", async () => {
expect(async () => await completeOidcLogin({})).rejects.toThrow(
await expect(completeOidcLogin({})).rejects.toThrow(
"Invalid query parameters for OIDC native login. `code` and `state` are required.",
);
});