(session: unknown | null)
| 3 | import { oauthCallbackSignInRedirectLocation } from "./oauth-callback-login"; |
| 4 | |
| 5 | const auth = (session: unknown | null) => ({ |
| 6 | api: { |
| 7 | getSession: async () => session, |
| 8 | }, |
| 9 | }); |
| 10 | |
| 11 | describe("oauthCallbackSignInRedirectLocation", () => { |
| 12 | it("redirects a signed-out OAuth callback to login with returnTo", async () => { |
no outgoing calls
no test coverage detected