mirror of
https://github.com/gethomepage/homepage.git
synced 2026-10-16 23:41:45 -07:00
Refactor: auth architecture (#7256)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user