testContext.d.ts 401 B

12345678910111213141516
  1. import { VueWrapper } from "@vue/test-utils";
  2. declare module "vitest" {
  3. export interface TestContext {
  4. longJobsStore?: any; // TODO use long job store type
  5. wrapper?: VueWrapper;
  6. mockSocket?: {
  7. data?: {
  8. dispatch?: Record<string, (...args: any[]) => any>;
  9. progress?: Record<string, (...args: any[]) => any>;
  10. on?: Record<string, any>;
  11. };
  12. executeDispatch?: boolean;
  13. };
  14. }
  15. }