Local file storage (#5763)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -7,7 +7,8 @@ describe("oidc", () => {
|
||||
const res = await server.get("/auth/oidc?myParam=someParam", {
|
||||
redirect: "manual",
|
||||
});
|
||||
const redirectLocation = new URL(res.headers.get("location"));
|
||||
expect(res.headers.get("location")).not.toBeNull();
|
||||
const redirectLocation = new URL(res.headers.get("location")!);
|
||||
expect(res.status).toEqual(302);
|
||||
expect(redirectLocation.searchParams.get("myParam")).toEqual("someParam");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user