You've already forked matrix-react-sdk
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:
committed by
GitHub
parent
d7d60a3255
commit
f5f31eb7d8
@@ -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.",
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user