mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
fix test
This commit is contained in:
@@ -22,6 +22,15 @@ vi.mock('../../stores', () => ({
|
||||
})
|
||||
}));
|
||||
|
||||
vi.mock('../../coordinators/userCoordinator', () => ({
|
||||
applyCurrentUser: (...args) => mockApplyCurrentUser(...args),
|
||||
applyUser: (...args) => mockApplyUser(...args)
|
||||
}));
|
||||
|
||||
vi.mock('../../coordinators/worldCoordinator', () => ({
|
||||
applyWorld: (...args) => mockApplyWorld(...args)
|
||||
}));
|
||||
|
||||
vi.mock('../../queries', () => ({
|
||||
patchAndRefetchActiveQuery: (...args) =>
|
||||
mockPatchAndRefetchActiveQuery(...args),
|
||||
|
||||
@@ -14,6 +14,10 @@ vi.mock('../../stores/user', () => ({
|
||||
})
|
||||
}));
|
||||
|
||||
vi.mock('../../coordinators/userCoordinator', () => ({
|
||||
applyUser: (...args) => mockApplyUser(...args)
|
||||
}));
|
||||
|
||||
vi.mock('../../queries', () => ({
|
||||
queryClient: {
|
||||
invalidateQueries: (...args) => mockInvalidateQueries(...args)
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
ChevronRight
|
||||
} from 'lucide-vue-next';
|
||||
import { formatDateFilter, statusClass, timeToText } from '../../shared/utils';
|
||||
import { i18n } from '../../plugin';
|
||||
import { i18n } from '../../plugin/i18n';
|
||||
import { useGalleryStore } from '../../stores';
|
||||
import { showUserDialog } from '../../coordinators/userCoordinator';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user