版博士V2.0程序
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

81 rader
3.2 KiB

  1. import { UserConfig as UserConfig$2, ConfigEnv } from 'vite';
  2. export { ConfigEnv } from 'vite';
  3. import { a1 as ResolvedCoverageOptions, n as UserConfig$1, a4 as CoverageC8Options, a5 as CustomProviderOptions, a3 as CoverageIstanbulOptions, af as HtmlOptions, ag as FileOptions, ah as CloverOptions, ai as CoberturaOptions, aj as HtmlSpaOptions, ak as LcovOptions, al as LcovOnlyOptions, am as TeamcityOptions, an as TextOptions, ao as ProjectOptions, F as FakeTimerInstallOpts } from './types-94cfe4b4.js';
  4. import '@vitest/expect';
  5. import '@vitest/runner';
  6. import '@vitest/runner/types';
  7. import '@vitest/runner/utils';
  8. import '@vitest/utils';
  9. import 'tinybench';
  10. import 'vite-node/client';
  11. import 'node:worker_threads';
  12. import 'vite-node';
  13. import 'source-map';
  14. import 'node:fs';
  15. import 'vite-node/server';
  16. declare const defaultInclude: string[];
  17. declare const defaultExclude: string[];
  18. declare const coverageConfigDefaults: ResolvedCoverageOptions;
  19. declare const config: {
  20. allowOnly: boolean;
  21. watch: boolean;
  22. globals: boolean;
  23. environment: "node";
  24. threads: boolean;
  25. clearMocks: boolean;
  26. restoreMocks: boolean;
  27. mockReset: boolean;
  28. include: string[];
  29. exclude: string[];
  30. testTimeout: number;
  31. hookTimeout: number;
  32. teardownTimeout: number;
  33. isolate: boolean;
  34. watchExclude: string[];
  35. forceRerunTriggers: string[];
  36. update: boolean;
  37. reporters: never[];
  38. silent: boolean;
  39. api: boolean;
  40. ui: boolean;
  41. uiBase: string;
  42. open: boolean;
  43. css: {
  44. include: never[];
  45. };
  46. coverage: {
  47. provider: "c8";
  48. } & CoverageC8Options & Required<Pick<({
  49. provider?: undefined;
  50. } & CoverageC8Options) | ({
  51. provider: "custom";
  52. } & CustomProviderOptions) | ({
  53. provider: "c8";
  54. } & CoverageC8Options) | ({
  55. provider: "istanbul";
  56. } & CoverageIstanbulOptions), "exclude" | "enabled" | "clean" | "cleanOnRerun" | "reportsDirectory" | "extension">> & {
  57. reporter: (["html", Partial<HtmlOptions>] | ["none", {}] | ["json", Partial<FileOptions>] | ["clover", Partial<CloverOptions>] | ["cobertura", Partial<CoberturaOptions>] | ["html-spa", Partial<HtmlSpaOptions>] | ["json-summary", Partial<FileOptions>] | ["lcov", Partial<LcovOptions>] | ["lcovonly", Partial<LcovOnlyOptions>] | ["teamcity", Partial<TeamcityOptions>] | ["text", Partial<TextOptions>] | ["text-lcov", Partial<ProjectOptions>] | ["text-summary", Partial<FileOptions>])[];
  58. };
  59. fakeTimers: FakeTimerInstallOpts;
  60. maxConcurrency: number;
  61. dangerouslyIgnoreUnhandledErrors: boolean;
  62. typecheck: {
  63. checker: "tsc";
  64. include: string[];
  65. exclude: string[];
  66. };
  67. slowTestThreshold: number;
  68. };
  69. declare const configDefaults: Required<Pick<UserConfig$1, keyof typeof config>>;
  70. interface UserConfig extends UserConfig$2 {
  71. test?: UserConfig$2['test'];
  72. }
  73. type UserConfigFn = (env: ConfigEnv) => UserConfig | Promise<UserConfig>;
  74. type UserConfigExport = UserConfig | Promise<UserConfig> | UserConfigFn;
  75. declare function defineConfig(config: UserConfigExport): UserConfigExport;
  76. export { UserConfig, UserConfigExport, UserConfigFn, configDefaults, coverageConfigDefaults, defaultExclude, defaultInclude, defineConfig };