Fix demo task readiness and gate event creation
This commit is contained in:
@@ -112,6 +112,11 @@ vi.mock('../../hooks/useOnlineStatus', () => ({
|
||||
|
||||
vi.mock('../../../api', () => ({
|
||||
getEvents: vi.fn().mockResolvedValue([]),
|
||||
getTenantPackagesOverview: vi.fn().mockResolvedValue({ packages: [], activePackage: null }),
|
||||
}));
|
||||
|
||||
vi.mock('@tanstack/react-query', () => ({
|
||||
useQuery: () => ({ data: { packages: [], activePackage: null }, isLoading: false }),
|
||||
}));
|
||||
|
||||
vi.mock('../../lib/tabHistory', () => ({
|
||||
|
||||
Reference in New Issue
Block a user