Refactor: auth architecture (#7256)

This commit is contained in:
shamoon
2026-10-16 22:09:09 -07:00
committed by GitHub
parent 89b0d20655
commit 9628256887
48 changed files with 638 additions and 127 deletions
+2
View File
@@ -8,6 +8,8 @@ afterEach(() => {
if (typeof document !== "undefined") cleanup();
});
process.env.HOMEPAGE_ALLOWED_HOSTS = "*";
// Avoid NextAuth client-side fetches during unit tests.
vi.mock("next-auth/react", () => ({
SessionProvider: ({ children }) => children ?? null,