mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 01:39:47 +00:00
Backport google auth fix (#3779)
This commit is contained in:
@@ -52,7 +52,9 @@ vi.mock('firebase/auth', () => ({
|
||||
signOut: vi.fn(),
|
||||
onAuthStateChanged: vi.fn(),
|
||||
signInWithPopup: vi.fn(),
|
||||
GoogleAuthProvider: vi.fn(),
|
||||
GoogleAuthProvider: class {
|
||||
setCustomParameters = vi.fn()
|
||||
},
|
||||
GithubAuthProvider: vi.fn(),
|
||||
browserLocalPersistence: 'browserLocalPersistence',
|
||||
setPersistence: vi.fn().mockResolvedValue(undefined)
|
||||
|
||||
Reference in New Issue
Block a user