fixed frontent test errors
Some checks failed
Chore App Build and Push Docker Images / build-and-push (push) Failing after 1m47s
Some checks failed
Chore App Build and Push Docker Images / build-and-push (push) Failing after 1m47s
This commit is contained in:
@@ -4,6 +4,10 @@ import { nextTick } from 'vue'
|
||||
import LoginButton from '../LoginButton.vue'
|
||||
import { authenticateParent, logoutParent } from '../../../stores/auth'
|
||||
|
||||
vi.mock('vue-router', () => ({
|
||||
useRouter: vi.fn(() => ({ push: vi.fn() })),
|
||||
}))
|
||||
|
||||
// Mock imageCache module
|
||||
vi.mock('@/common/imageCache', () => ({
|
||||
getCachedImageUrl: vi.fn(async (imageId: string) => `blob:mock-url-${imageId}`),
|
||||
|
||||
Reference in New Issue
Block a user