@voidzero-dev/vite-plus-test 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +181 -1
- package/dist/@vitest/browser/client/.vite/manifest.json +6 -6
- package/dist/@vitest/browser/client/__vitest__/assets/index-Da0hb3oU.css +1 -0
- package/dist/@vitest/browser/client/__vitest__/assets/index-Di71CKDo.js +63 -0
- package/dist/@vitest/browser/client/__vitest__/favicon.ico +0 -0
- package/dist/@vitest/browser/client/__vitest__/favicon.svg +49 -4
- package/dist/@vitest/browser/client/__vitest__/index.html +2 -2
- package/dist/@vitest/browser/client/__vitest_browser__/{orchestrator-S_3e_uzt.js → orchestrator-CXs6qrFe.js} +70 -28
- package/dist/@vitest/browser/client/__vitest_browser__/{tester-k74mgIRa.js → tester-K5NNxh1O.js} +167 -58
- package/dist/@vitest/browser/client/__vitest_browser__/{utils-uxqdqUz8.js → utils-C2ISqq1C.js} +2 -2
- package/dist/@vitest/browser/client/favicon.svg +49 -4
- package/dist/@vitest/browser/client/orchestrator.html +2 -2
- package/dist/@vitest/browser/client/tester/tester.html +2 -2
- package/dist/@vitest/browser/client.js +20 -13
- package/dist/@vitest/browser/context.d.ts +160 -10
- package/dist/@vitest/browser/context.js +108 -22
- package/dist/@vitest/browser/expect-element.js +23 -28
- package/dist/@vitest/browser/index-5Pe7X7sp.js +7 -0
- package/dist/@vitest/browser/index.d.ts +20 -2
- package/dist/@vitest/browser/index.js +5706 -159
- package/dist/@vitest/browser/locators.d.ts +14 -3
- package/dist/@vitest/browser/locators.js +1 -1
- package/dist/@vitest/browser-playwright/index.d.ts +22 -5
- package/dist/@vitest/browser-playwright/index.js +169 -61
- package/dist/@vitest/browser-preview/index.d.ts +14 -1
- package/dist/@vitest/browser-preview/locators.js +31 -18
- package/dist/@vitest/browser-webdriverio/index.d.ts +17 -3
- package/dist/@vitest/browser-webdriverio/index.js +22 -2
- package/dist/@vitest/browser-webdriverio/locators.js +84 -7
- package/dist/@vitest/expect/index.d.ts +172 -54
- package/dist/@vitest/expect/index.js +124 -67
- package/dist/@vitest/mocker/auto-register.js +1 -0
- package/dist/@vitest/mocker/automock.d.ts +1 -0
- package/dist/@vitest/mocker/automock.js +5 -0
- package/dist/@vitest/mocker/browser.d.ts +4 -4
- package/dist/@vitest/mocker/browser.js +1 -0
- package/dist/@vitest/mocker/chunk-automock.js +182 -14
- package/dist/@vitest/mocker/chunk-helpers.js +44 -0
- package/dist/@vitest/mocker/chunk-hoistMocks.js +659 -0
- package/dist/@vitest/mocker/chunk-mocker.js +41 -30
- package/dist/@vitest/mocker/chunk-registry.js +21 -7
- package/dist/@vitest/mocker/chunk-utils.js +18 -7
- package/dist/@vitest/mocker/hoistMocks.d-w2ILr1dG.d.ts +739 -0
- package/dist/@vitest/mocker/{index.d-C-sLYZi-.d.ts → index.d-B41z0AuW.d.ts} +1 -1
- package/dist/@vitest/mocker/index.d.ts +2 -2
- package/dist/@vitest/mocker/index.js +18 -3
- package/dist/@vitest/mocker/{mocker.d-TnKRhz7N.d.ts → mocker.d-QEntlm6J.d.ts} +10 -5
- package/dist/@vitest/mocker/node.d.ts +5 -734
- package/dist/@vitest/mocker/node.js +29 -587
- package/dist/@vitest/mocker/redirect.js +4 -4
- package/dist/@vitest/mocker/register.d.ts +3 -3
- package/dist/@vitest/mocker/register.js +1 -0
- package/dist/@vitest/mocker/transforms.d.ts +6 -0
- package/dist/@vitest/mocker/transforms.js +8 -0
- package/dist/@vitest/mocker/{types.d-B8CCKmHt.d.ts → types.d-BjI5eAwu.d.ts} +23 -7
- package/dist/@vitest/pretty-format/index.d.ts +11 -1
- package/dist/@vitest/pretty-format/index.js +33 -4
- package/dist/@vitest/runner/chunk-tasks.js +305 -37
- package/dist/@vitest/runner/index.d.ts +5 -6
- package/dist/@vitest/runner/index.js +1146 -455
- package/dist/@vitest/runner/{tasks.d-C7UxawJ9.d.ts → tasks.d-D2GKpdwQ.d.ts} +726 -55
- package/dist/@vitest/runner/types.d.ts +2 -182
- package/dist/@vitest/runner/utils.d.ts +16 -8
- package/dist/@vitest/runner/utils.js +1 -1
- package/dist/@vitest/snapshot/{environment.d-DHdQ1Csl.d.ts → environment.d-DOJxxZV9.d.ts} +2 -7
- package/dist/@vitest/snapshot/environment.d.ts +2 -1
- package/dist/@vitest/snapshot/environment.js +1 -1
- package/dist/@vitest/snapshot/index.d.ts +4 -3
- package/dist/@vitest/snapshot/index.js +21 -550
- package/dist/@vitest/snapshot/manager.d.ts +3 -2
- package/dist/@vitest/snapshot/manager.js +1 -1
- package/dist/@vitest/snapshot/{rawSnapshot.d-lFsMJFUd.d.ts → rawSnapshot.d-U2kJUxDr.d.ts} +1 -1
- package/dist/@vitest/spy/index.d.ts +34 -4
- package/dist/@vitest/spy/index.js +69 -19
- package/dist/@vitest/utils/diff.js +11 -9
- package/dist/@vitest/utils/display.d.ts +2 -1
- package/dist/@vitest/utils/display.js +38 -5
- package/dist/@vitest/utils/error.d.ts +2 -1
- package/dist/@vitest/utils/error.js +1 -2
- package/dist/@vitest/utils/helpers.d.ts +4 -1
- package/dist/@vitest/utils/helpers.js +43 -1
- package/dist/@vitest/utils/resolver.js +1 -2
- package/dist/@vitest/utils/serialize.js +6 -6
- package/dist/@vitest/utils/source-map/node.d.ts +6 -0
- package/dist/@vitest/utils/source-map/node.js +23 -0
- package/dist/@vitest/utils/source-map.js +15 -5
- package/dist/browser.d.ts +3 -2
- package/dist/browser.js +2 -2
- package/dist/chunks/acorn.B2iPLyUM.js +5958 -0
- package/dist/chunks/{base.CJ0Y4ePK.js → base.DM0-RqVb.js} +54 -16
- package/dist/chunks/{benchmark.B3N2zMcH.js → benchmark.D0SlKNbZ.js} +1 -1
- package/dist/chunks/{browser.d.ChKACdzH.d.ts → browser.d.X3SXoOCV.d.ts} +4 -1
- package/dist/chunks/{cac.DVeoLl0M.js → cac.CWGDZnXT.js} +979 -20
- package/dist/chunks/{cli-api.B7PN_QUv.js → cli-api.DuT9iuvY.js} +8764 -7898
- package/dist/chunks/{config.d.Cy95HiCx.d.ts → config.d.EJLVE3es.d.ts} +30 -15
- package/dist/chunks/{console.Cf-YriPC.js → console.3WNpx0tS.js} +3 -2
- package/dist/chunks/{constants.D_Q9UYh-.js → constants.CPYnjOGj.js} +4 -2
- package/dist/chunks/coverage.Bri33R1t.js +1050 -0
- package/dist/chunks/{creator.DAmOKTvJ.js → creator.DgVhQm5q.js} +35 -4
- package/dist/chunks/{defaults.BOqNVLsY.js → defaults.CdU2lD-q.js} +4 -3
- package/dist/chunks/{global.d.B15mdLcR.d.ts → global.d.x-ILCfAE.d.ts} +1 -2
- package/dist/chunks/{globals.DOayXfHP.js → globals.BXNGLnTL.js} +11 -10
- package/dist/chunks/{coverage.AVPTjMgw.js → index.BCY_7LL2.js} +5 -959
- package/dist/chunks/{index.C5r1PdPD.js → index.CEzQDJGb.js} +1 -1
- package/dist/chunks/{index.D3XRDfWc.js → index.CMESou6r.js} +26 -1
- package/dist/chunks/{index.6Qv1eEA6.js → index.DGNSnENe.js} +95 -9
- package/dist/chunks/{index.M8mOzt4Y.js → index.DXMFO5MJ.js} +3279 -2914
- package/dist/chunks/{index.Z5E_ObnR.js → index.DlDSLQD3.js} +7 -3
- package/dist/chunks/{index.CyBMJtT7.js → index.EY6TCHpo.js} +10 -8
- package/dist/chunks/{index.D4KonVSU.js → index.og1WyBLx.js} +18 -3
- package/dist/chunks/{init-forks._y3TW739.js → init-forks.DeArv0jT.js} +1 -1
- package/dist/chunks/{init-threads.DBO2kn-p.js → init-threads.-2OUl4Nn.js} +1 -1
- package/dist/chunks/{init.B6MLFIaN.js → init.DICorXCo.js} +52 -13
- package/dist/chunks/native.DPzPHdi5.js +148 -0
- package/dist/chunks/nativeModuleMocker.DndvSdL6.js +206 -0
- package/dist/chunks/nativeModuleRunner.BIakptoF.js +36 -0
- package/dist/chunks/{node.Ce0vMQM7.js → node.COQbm6gK.js} +1 -1
- package/dist/chunks/{plugin.d.CtqpEehP.d.ts → plugin.d.BuW-flqo.d.ts} +1 -1
- package/dist/chunks/{reporters.d.CWXNI2jG.d.ts → reporters.d.DVUYHHhe.d.ts} +328 -79
- package/dist/chunks/rpc.MzXet3jl.js +144 -0
- package/dist/chunks/{rpc.d.RH3apGEf.d.ts → rpc.d.BFMWpdph.d.ts} +10 -2
- package/dist/chunks/{setup-common.Cm-kSBVi.js → setup-common.B41N_kPE.js} +3 -3
- package/dist/chunks/{startModuleRunner.DEj0jb3e.js → startVitestModuleRunner.C3ZR-4J3.js} +265 -405
- package/dist/chunks/{suite.d.BJWk38HB.d.ts → suite.d.udJtyAgw.d.ts} +1 -1
- package/dist/chunks/{vi.2VT5v0um.js → test.CTcmp4Su.js} +538 -181
- package/dist/chunks/{utils.DvEY5TfP.js → utils.BX5Fg8C4.js} +8 -1
- package/dist/chunks/{vm.D3epNOPZ.js → vm.Dh2rTtmP.js} +48 -8
- package/dist/chunks/{worker.d.Dyxm8DEL.d.ts → worker.d.B84sVRy0.d.ts} +2 -2
- package/dist/cli.js +6 -5
- package/dist/client/.vite/manifest.json +6 -6
- package/dist/client/__vitest__/assets/index-Da0hb3oU.css +1 -0
- package/dist/client/__vitest__/assets/index-Di71CKDo.js +63 -0
- package/dist/client/__vitest__/favicon.ico +0 -0
- package/dist/client/__vitest__/favicon.svg +49 -4
- package/dist/client/__vitest__/index.html +2 -2
- package/dist/client/__vitest_browser__/{orchestrator-S_3e_uzt.js → orchestrator-CXs6qrFe.js} +70 -28
- package/dist/client/__vitest_browser__/{tester-k74mgIRa.js → tester-K5NNxh1O.js} +167 -58
- package/dist/client/__vitest_browser__/{utils-uxqdqUz8.js → utils-C2ISqq1C.js} +2 -2
- package/dist/client/favicon.svg +49 -4
- package/dist/client/orchestrator.html +2 -2
- package/dist/client/tester/tester.html +2 -2
- package/dist/client.js +20 -13
- package/dist/config.cjs +3 -2
- package/dist/config.d.ts +13 -12
- package/dist/config.js +2 -2
- package/dist/context.js +108 -22
- package/dist/coverage.d.ts +12 -8
- package/dist/coverage.js +8 -5
- package/dist/environments.js +3 -1
- package/dist/expect-element.js +23 -23
- package/dist/index-5Pe7X7sp.js +7 -0
- package/dist/index.d.ts +66 -27
- package/dist/index.js +10 -9
- package/dist/locators.d.ts +14 -3
- package/dist/locators.js +1 -1
- package/dist/module-evaluator.d.ts +11 -1
- package/dist/module-evaluator.js +43 -26
- package/dist/node.d.ts +28 -14
- package/dist/node.js +42 -40
- package/dist/nodejs-worker-loader.js +41 -0
- package/dist/plugins/mocker-transforms.mjs +2 -0
- package/dist/plugins/utils-source-map-node.mjs +2 -0
- package/dist/reporters.d.ts +8 -8
- package/dist/reporters.js +7 -5
- package/dist/runners.d.ts +24 -5
- package/dist/runners.js +6 -6
- package/dist/runtime.d.ts +6 -0
- package/dist/runtime.js +35 -0
- package/dist/snapshot.js +4 -2
- package/dist/suite.d.ts +1 -1
- package/dist/suite.js +4 -2
- package/dist/vendor/blazediff_core.d.mts +1 -0
- package/dist/vendor/blazediff_core.mjs +117 -0
- package/dist/vendor/chai.mjs +4 -249
- package/dist/vendor/convert-source-map.d.mts +1 -0
- package/dist/vendor/convert-source-map.mjs +150 -0
- package/dist/vendor/expect-type.d.mts +14 -7
- package/dist/vendor/expect-type.mjs +5 -5
- package/dist/vendor/std-env.d.mts +131 -40
- package/dist/vendor/std-env.mjs +114 -117
- package/dist/worker.d.ts +6 -6
- package/dist/worker.js +27 -21
- package/dist/workers/forks.js +23 -17
- package/dist/workers/runVmTests.js +18 -16
- package/dist/workers/threads.js +23 -17
- package/dist/workers/vmForks.js +15 -12
- package/dist/workers/vmThreads.js +15 -12
- package/globals.d.ts +2 -0
- package/package.json +36 -27
- package/suppress-warnings.cjs +1 -0
- package/dist/@vitest/browser/client/__vitest__/assets/index-BUCFJtth.js +0 -57
- package/dist/@vitest/browser/client/__vitest__/assets/index-DlhE0rqZ.css +0 -1
- package/dist/@vitest/browser/index-D6m36C6U.js +0 -11
- package/dist/@vitest/utils/chunk-_commonjsHelpers.js +0 -5
- package/dist/@vitest/utils/highlight.d.ts +0 -9
- package/dist/@vitest/utils/highlight.js +0 -538
- package/dist/chunks/date.Bq6ZW5rf.js +0 -73
- package/dist/chunks/rpc.BoxB0q7B.js +0 -76
- package/dist/chunks/test.B8ej_ZHS.js +0 -254
- package/dist/client/__vitest__/assets/index-BUCFJtth.js +0 -57
- package/dist/client/__vitest__/assets/index-DlhE0rqZ.css +0 -1
- package/dist/index-D6m36C6U.js +0 -6
- package/dist/mocker.d.ts +0 -1
- package/dist/mocker.js +0 -1
- package/dist/module-runner.js +0 -17
|
@@ -1,7 +1,59 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/std-env@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
//#region ../../node_modules/.pnpm/std-env@4.0.0/node_modules/std-env/dist/index.d.mts
|
|
2
|
+
//#region src/agents.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Represents the name of an AI coding agent.
|
|
5
|
+
*/
|
|
6
|
+
type AgentName = (string & {}) | "cursor" | "claude" | "devin" | "replit" | "gemini" | "codex" | "auggie" | "opencode" | "kiro" | "goose" | "pi";
|
|
7
|
+
/**
|
|
8
|
+
* Provides information about an AI coding agent.
|
|
9
|
+
*/
|
|
10
|
+
type AgentInfo = {
|
|
11
|
+
/**
|
|
12
|
+
* The name of the AI coding agent. See {@link AgentName} for possible values.
|
|
13
|
+
*/
|
|
14
|
+
name?: AgentName;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Detects the current AI coding agent from environment variables.
|
|
18
|
+
*
|
|
19
|
+
* Supported agents: `cursor`, `claude`, `devin`, `replit`, `gemini`, `codex`, `auggie`, `opencode`, `kiro`, `goose`, `pi`
|
|
20
|
+
*
|
|
21
|
+
* You can also set the `AI_AGENT` environment variable to explicitly specify the agent name.
|
|
22
|
+
*/
|
|
23
|
+
declare function detectAgent(): AgentInfo;
|
|
24
|
+
/**
|
|
25
|
+
* The detected agent information for the current execution context.
|
|
26
|
+
* This value is evaluated once at module initialisation.
|
|
27
|
+
*/
|
|
28
|
+
declare const agentInfo: AgentInfo;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the detected agent.
|
|
31
|
+
*/
|
|
32
|
+
declare const agent: AgentName | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* A boolean flag indicating whether the current environment is running inside an AI coding agent.
|
|
35
|
+
*/
|
|
36
|
+
declare const isAgent: boolean; //#endregion
|
|
37
|
+
//#region src/env.d.ts
|
|
38
|
+
/**
|
|
39
|
+
* Runtime-agnostic reference to environment variables.
|
|
40
|
+
*
|
|
41
|
+
* Resolves to `globalThis.process.env` when available, otherwise an empty object.
|
|
42
|
+
*/
|
|
43
|
+
declare const env: Record<string, string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* Runtime-agnostic reference to the `process` global.
|
|
46
|
+
*
|
|
47
|
+
* Resolves to `globalThis.process` when available, otherwise a minimal shim containing only `env`.
|
|
48
|
+
*/
|
|
49
|
+
declare const process: Partial<typeof globalThis.process>;
|
|
50
|
+
/**
|
|
51
|
+
* Current value of the `NODE_ENV` environment variable (or static value if replaced during build).
|
|
52
|
+
*
|
|
53
|
+
* If `NODE_ENV` is not set, this will be undefined.
|
|
54
|
+
*/
|
|
55
|
+
declare const nodeENV: string | undefined; //#endregion
|
|
56
|
+
//#region src/flags.d.ts
|
|
5
57
|
/** Value of process.platform */
|
|
6
58
|
declare const platform: string;
|
|
7
59
|
/** Detect if `CI` environment variable is set or a provider CI detected */
|
|
@@ -12,11 +64,11 @@ declare const hasTTY: boolean;
|
|
|
12
64
|
declare const hasWindow: boolean;
|
|
13
65
|
/** Detect if `DEBUG` environment variable is set */
|
|
14
66
|
declare const isDebug: boolean;
|
|
15
|
-
/** Detect if `NODE_ENV` environment variable is `test` */
|
|
67
|
+
/** Detect if `NODE_ENV` environment variable is `test` or `TEST` environment variable is set */
|
|
16
68
|
declare const isTest: boolean;
|
|
17
|
-
/** Detect if `NODE_ENV` environment variable is `production` */
|
|
69
|
+
/** Detect if `NODE_ENV` or `MODE` environment variable is `production` */
|
|
18
70
|
declare const isProduction: boolean;
|
|
19
|
-
/** Detect if `NODE_ENV` environment variable is `dev` or `development` */
|
|
71
|
+
/** Detect if `NODE_ENV` environment variable is `dev` or `development`, or if `MODE` environment variable is `development` */
|
|
20
72
|
declare const isDevelopment: boolean;
|
|
21
73
|
/** Detect if MINIMAL environment variable is set, running in CI or test or TTY is unavailable */
|
|
22
74
|
declare const isMinimal: boolean;
|
|
@@ -26,63 +78,102 @@ declare const isWindows: boolean;
|
|
|
26
78
|
declare const isLinux: boolean;
|
|
27
79
|
/** Detect if process.platform is macOS (darwin kernel) */
|
|
28
80
|
declare const isMacOS: boolean;
|
|
29
|
-
/**
|
|
81
|
+
/** Detect if terminal color output is supported based on `NO_COLOR`, `FORCE_COLOR`, TTY, and CI environment */
|
|
30
82
|
declare const isColorSupported: boolean;
|
|
31
|
-
/** Node.js
|
|
83
|
+
/** Node.js version string (e.g. `"20.11.0"`), or `null` if not running in Node.js */
|
|
32
84
|
declare const nodeVersion: string | null;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
type ProviderName =
|
|
85
|
+
/** Node.js major version number (e.g. `20`), or `null` if not running in Node.js */
|
|
86
|
+
declare const nodeMajorVersion: number | null; //#endregion
|
|
87
|
+
//#region src/providers.d.ts
|
|
88
|
+
/**
|
|
89
|
+
* Represents the name of a CI/CD or Deployment provider.
|
|
90
|
+
*/
|
|
91
|
+
type ProviderName = (string & {}) | "appveyor" | "aws_amplify" | "azure_pipelines" | "azure_static" | "appcircle" | "bamboo" | "bitbucket" | "bitrise" | "buddy" | "buildkite" | "circle" | "cirrus" | "cloudflare_pages" | "cloudflare_workers" | "google_cloudrun" | "google_cloudrun_job" | "codebuild" | "codefresh" | "drone" | "drone" | "dsari" | "github_actions" | "gitlab" | "gocd" | "layerci" | "hudson" | "jenkins" | "magnum" | "netlify" | "nevercode" | "render" | "sail" | "semaphore" | "screwdriver" | "shippable" | "solano" | "strider" | "teamcity" | "travis" | "vercel" | "appcenter" | "codesandbox" | "stackblitz" | "stormkit" | "cleavr" | "zeabur" | "codesphere" | "railway" | "deno-deploy" | "firebase_app_hosting";
|
|
92
|
+
/**
|
|
93
|
+
* Provides information about a CI/CD or Deployment provider, including its name and possibly other metadata.
|
|
94
|
+
*/
|
|
40
95
|
type ProviderInfo = {
|
|
96
|
+
/**
|
|
97
|
+
* The name of the CI/CD or Deployment provider. See {@link ProviderName} for possible values.
|
|
98
|
+
*/
|
|
41
99
|
name: ProviderName;
|
|
100
|
+
/**
|
|
101
|
+
* If is set to `true`, the environment is recognised as a CI/CD provider.
|
|
102
|
+
*/
|
|
42
103
|
ci?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Arbitrary metadata associated with the provider.
|
|
106
|
+
*/
|
|
43
107
|
[meta: string]: any;
|
|
44
108
|
};
|
|
45
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Detects the current CI/CD or Deployment provider from environment variables.
|
|
111
|
+
*/
|
|
112
|
+
declare function detectProvider(): ProviderInfo;
|
|
113
|
+
/**
|
|
114
|
+
* The detected provider information for the current execution context.
|
|
115
|
+
* This value is evaluated once at module initialisation.
|
|
116
|
+
*/
|
|
46
117
|
declare const providerInfo: ProviderInfo;
|
|
47
|
-
|
|
48
|
-
|
|
118
|
+
/**
|
|
119
|
+
* Name of the detected provider, defaults to an empty string if no provider is detected.
|
|
120
|
+
*/
|
|
121
|
+
declare const provider: ProviderName; //#endregion
|
|
122
|
+
//#region src/runtimes.d.ts
|
|
123
|
+
/**
|
|
124
|
+
* Represents the name of a JavaScript runtime.
|
|
125
|
+
*
|
|
126
|
+
* @see https://runtime-keys.proposal.wintercg.org/
|
|
127
|
+
*/
|
|
128
|
+
type RuntimeName = (string & {}) | "workerd" | "deno" | "netlify" | "node" | "bun" | "edge-light" | "fastly";
|
|
49
129
|
type RuntimeInfo = {
|
|
130
|
+
/**
|
|
131
|
+
* The name of the detected runtime.
|
|
132
|
+
*/
|
|
50
133
|
name: RuntimeName;
|
|
51
134
|
};
|
|
52
135
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
136
|
+
* Indicates if running in Node.js or a Node.js compatible runtime.
|
|
137
|
+
*
|
|
138
|
+
* **Note:** When running code in Bun and Deno with Node.js compatibility mode, `isNode` flag will be also `true`, indicating running in a Node.js compatible runtime.
|
|
139
|
+
*
|
|
140
|
+
* Use `runtime === "node"` if you need strict check for Node.js runtime.
|
|
141
|
+
*/
|
|
59
142
|
declare const isNode: boolean;
|
|
60
143
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
144
|
+
* Indicates if running in Bun runtime.
|
|
145
|
+
*/
|
|
63
146
|
declare const isBun: boolean;
|
|
64
147
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
148
|
+
* Indicates if running in Deno runtime.
|
|
149
|
+
*/
|
|
67
150
|
declare const isDeno: boolean;
|
|
68
151
|
/**
|
|
69
|
-
|
|
70
|
-
|
|
152
|
+
* Indicates if running in Fastly runtime.
|
|
153
|
+
*/
|
|
71
154
|
declare const isFastly: boolean;
|
|
72
155
|
/**
|
|
73
|
-
|
|
74
|
-
|
|
156
|
+
* Indicates if running in Netlify runtime.
|
|
157
|
+
*/
|
|
75
158
|
declare const isNetlify: boolean;
|
|
76
159
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
*/
|
|
160
|
+
* Indicates if running in EdgeLight (Vercel Edge) runtime.
|
|
161
|
+
*/
|
|
80
162
|
declare const isEdgeLight: boolean;
|
|
81
163
|
/**
|
|
82
|
-
|
|
83
|
-
|
|
164
|
+
* Indicates if running in Cloudflare Workers runtime.
|
|
165
|
+
*
|
|
166
|
+
* https://developers.cloudflare.com/workers/runtime-apis/web-standards/#navigatoruseragent
|
|
167
|
+
*/
|
|
84
168
|
declare const isWorkerd: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Contains information about the detected runtime, if any.
|
|
171
|
+
*/
|
|
85
172
|
declare const runtimeInfo: RuntimeInfo | undefined;
|
|
86
|
-
|
|
173
|
+
/**
|
|
174
|
+
* A convenience constant that returns the name of the detected runtime,
|
|
175
|
+
* defaults to an empty string if no runtime is detected.
|
|
176
|
+
*/
|
|
177
|
+
declare const runtime: RuntimeName; //#endregion
|
|
87
178
|
//#endregion
|
|
88
|
-
export { type
|
|
179
|
+
export { type AgentInfo, type AgentName, type ProviderInfo, type ProviderName, type RuntimeInfo, type RuntimeName, agent, agentInfo, detectAgent, detectProvider, env, hasTTY, hasWindow, isAgent, isBun, isCI, isColorSupported, isDebug, isDeno, isDevelopment, isEdgeLight, isFastly, isLinux, isMacOS, isMinimal, isNetlify, isNode, isProduction, isTest, isWindows, isWorkerd, nodeENV, nodeMajorVersion, nodeVersion, platform, process, provider, providerInfo, runtime, runtimeInfo };
|
package/dist/vendor/std-env.mjs
CHANGED
|
@@ -1,157 +1,154 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/std-env@
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
//#region ../../node_modules/.pnpm/std-env@4.0.0/node_modules/std-env/dist/index.mjs
|
|
2
|
+
const e = globalThis.process?.env || Object.create(null), t = globalThis.process || { env: e }, n = t !== void 0 && t.env && t.env.NODE_ENV || void 0, r = [
|
|
3
|
+
[`claude`, [`CLAUDECODE`, `CLAUDE_CODE`]],
|
|
4
|
+
[`replit`, [`REPL_ID`]],
|
|
5
|
+
[`gemini`, [`GEMINI_CLI`]],
|
|
6
|
+
[`codex`, [`CODEX_SANDBOX`, `CODEX_THREAD_ID`]],
|
|
7
|
+
[`opencode`, [`OPENCODE`]],
|
|
8
|
+
[`pi`, [i(`PATH`, /\.pi[\\/]agent/)]],
|
|
9
|
+
[`auggie`, [`AUGMENT_AGENT`]],
|
|
10
|
+
[`goose`, [`GOOSE_PROVIDER`]],
|
|
11
|
+
[`devin`, [i(`EDITOR`, /devin/)]],
|
|
12
|
+
[`cursor`, [`CURSOR_AGENT`]],
|
|
13
|
+
[`kiro`, [i(`TERM_PROGRAM`, /kiro/)]]
|
|
14
|
+
];
|
|
15
|
+
function i(t, n) {
|
|
16
|
+
return () => {
|
|
17
|
+
let r = e[t];
|
|
18
|
+
return r ? n.test(r) : !1;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function a() {
|
|
22
|
+
let t = e.AI_AGENT;
|
|
23
|
+
if (t) return { name: t.toLowerCase() };
|
|
24
|
+
for (let [t, n] of r) for (let r of n) if (typeof r == `string` ? e[r] : r()) return { name: t };
|
|
25
|
+
return {};
|
|
26
|
+
}
|
|
27
|
+
const o = a(), s = o.name, c = !!o.name, l = [
|
|
28
|
+
[`APPVEYOR`],
|
|
24
29
|
[
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
`AWS_AMPLIFY`,
|
|
31
|
+
`AWS_APP_ID`,
|
|
27
32
|
{ ci: !0 }
|
|
28
33
|
],
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
34
|
+
[`AZURE_PIPELINES`, `SYSTEM_TEAMFOUNDATIONCOLLECTIONURI`],
|
|
35
|
+
[`AZURE_STATIC`, `INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN`],
|
|
36
|
+
[`APPCIRCLE`, `AC_APPCIRCLE`],
|
|
37
|
+
[`BAMBOO`, `bamboo_planKey`],
|
|
38
|
+
[`BITBUCKET`, `BITBUCKET_COMMIT`],
|
|
39
|
+
[`BITRISE`, `BITRISE_IO`],
|
|
40
|
+
[`BUDDY`, `BUDDY_WORKSPACE_ID`],
|
|
41
|
+
[`BUILDKITE`],
|
|
42
|
+
[`CIRCLE`, `CIRCLECI`],
|
|
43
|
+
[`CIRRUS`, `CIRRUS_CI`],
|
|
39
44
|
[
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
`CLOUDFLARE_PAGES`,
|
|
46
|
+
`CF_PAGES`,
|
|
42
47
|
{ ci: !0 }
|
|
43
48
|
],
|
|
44
49
|
[
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
`CLOUDFLARE_WORKERS`,
|
|
51
|
+
`WORKERS_CI`,
|
|
47
52
|
{ ci: !0 }
|
|
48
53
|
],
|
|
49
|
-
[
|
|
50
|
-
[
|
|
51
|
-
[
|
|
52
|
-
[
|
|
53
|
-
[
|
|
54
|
-
[
|
|
55
|
-
[
|
|
56
|
-
[
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
54
|
+
[`GOOGLE_CLOUDRUN`, `K_SERVICE`],
|
|
55
|
+
[`GOOGLE_CLOUDRUN_JOB`, `CLOUD_RUN_JOB`],
|
|
56
|
+
[`CODEBUILD`, `CODEBUILD_BUILD_ARN`],
|
|
57
|
+
[`CODEFRESH`, `CF_BUILD_ID`],
|
|
58
|
+
[`DRONE`],
|
|
59
|
+
[`DRONE`, `DRONE_BUILD_EVENT`],
|
|
60
|
+
[`DSARI`],
|
|
61
|
+
[`GITHUB_ACTIONS`],
|
|
62
|
+
[`GITLAB`, `GITLAB_CI`],
|
|
63
|
+
[`GITLAB`, `CI_MERGE_REQUEST_ID`],
|
|
64
|
+
[`GOCD`, `GO_PIPELINE_LABEL`],
|
|
65
|
+
[`LAYERCI`],
|
|
66
|
+
[`JENKINS`, `JENKINS_URL`],
|
|
67
|
+
[`HUDSON`, `HUDSON_URL`],
|
|
68
|
+
[`MAGNUM`],
|
|
69
|
+
[`NETLIFY`],
|
|
63
70
|
[
|
|
64
|
-
|
|
65
|
-
|
|
71
|
+
`NETLIFY`,
|
|
72
|
+
`NETLIFY_LOCAL`,
|
|
66
73
|
{ ci: !1 }
|
|
67
74
|
],
|
|
68
|
-
[
|
|
69
|
-
[
|
|
70
|
-
[
|
|
71
|
-
[
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
-
[
|
|
75
|
-
[
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
[
|
|
75
|
+
[`NEVERCODE`],
|
|
76
|
+
[`RENDER`],
|
|
77
|
+
[`SAIL`, `SAILCI`],
|
|
78
|
+
[`SEMAPHORE`],
|
|
79
|
+
[`SCREWDRIVER`],
|
|
80
|
+
[`SHIPPABLE`],
|
|
81
|
+
[`SOLANO`, `TDDIUM`],
|
|
82
|
+
[`STRIDER`],
|
|
83
|
+
[`TEAMCITY`, `TEAMCITY_VERSION`],
|
|
84
|
+
[`TRAVIS`],
|
|
85
|
+
[`VERCEL`, `NOW_BUILDER`],
|
|
79
86
|
[
|
|
80
|
-
|
|
81
|
-
|
|
87
|
+
`VERCEL`,
|
|
88
|
+
`VERCEL`,
|
|
82
89
|
{ ci: !1 }
|
|
83
90
|
],
|
|
84
91
|
[
|
|
85
|
-
|
|
86
|
-
|
|
92
|
+
`VERCEL`,
|
|
93
|
+
`VERCEL_ENV`,
|
|
87
94
|
{ ci: !1 }
|
|
88
95
|
],
|
|
89
|
-
[
|
|
96
|
+
[`APPCENTER`, `APPCENTER_BUILD_ID`],
|
|
90
97
|
[
|
|
91
|
-
|
|
92
|
-
|
|
98
|
+
`CODESANDBOX`,
|
|
99
|
+
`CODESANDBOX_SSE`,
|
|
93
100
|
{ ci: !1 }
|
|
94
101
|
],
|
|
95
102
|
[
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
`CODESANDBOX`,
|
|
104
|
+
`CODESANDBOX_HOST`,
|
|
98
105
|
{ ci: !1 }
|
|
99
106
|
],
|
|
100
|
-
[
|
|
101
|
-
[
|
|
102
|
-
[
|
|
103
|
-
[
|
|
107
|
+
[`STACKBLITZ`],
|
|
108
|
+
[`STORMKIT`],
|
|
109
|
+
[`CLEAVR`],
|
|
110
|
+
[`ZEABUR`],
|
|
104
111
|
[
|
|
105
|
-
|
|
106
|
-
|
|
112
|
+
`CODESPHERE`,
|
|
113
|
+
`CODESPHERE_APP_ID`,
|
|
107
114
|
{ ci: !0 }
|
|
108
115
|
],
|
|
109
|
-
[
|
|
110
|
-
[
|
|
111
|
-
[
|
|
116
|
+
[`RAILWAY`, `RAILWAY_PROJECT_ID`],
|
|
117
|
+
[`RAILWAY`, `RAILWAY_SERVICE_ID`],
|
|
118
|
+
[`DENO-DEPLOY`, `DENO_DEPLOY`],
|
|
119
|
+
[`DENO-DEPLOY`, `DENO_DEPLOYMENT_ID`],
|
|
112
120
|
[
|
|
113
|
-
|
|
114
|
-
|
|
121
|
+
`FIREBASE_APP_HOSTING`,
|
|
122
|
+
`FIREBASE_APP_HOSTING`,
|
|
115
123
|
{ ci: !0 }
|
|
116
124
|
]
|
|
117
125
|
];
|
|
118
|
-
function
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
return globalThis.process?.env?.SHELL === "/bin/jsh" && globalThis.process?.versions?.webcontainer ? {
|
|
127
|
-
name: "stackblitz",
|
|
126
|
+
function u() {
|
|
127
|
+
for (let t of l) if (e[t[1] || t[0]]) return {
|
|
128
|
+
name: t[0].toLowerCase(),
|
|
129
|
+
...t[2]
|
|
130
|
+
};
|
|
131
|
+
return e.SHELL === `/bin/jsh` && t.versions?.webcontainer ? {
|
|
132
|
+
name: `stackblitz`,
|
|
128
133
|
ci: !1
|
|
129
134
|
} : {
|
|
130
|
-
name:
|
|
135
|
+
name: ``,
|
|
131
136
|
ci: !1
|
|
132
137
|
};
|
|
133
138
|
}
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
} }), O = globalThis.process?.release?.name === "node", c = !!globalThis.Bun || !!globalThis.process?.versions?.bun, D = !!globalThis.Deno, L = !!globalThis.fastly, S = !!globalThis.Netlify, u = !!globalThis.EdgeRuntime, N = globalThis.navigator?.userAgent === "Cloudflare-Workers", F = [
|
|
143
|
-
[S, "netlify"],
|
|
144
|
-
[u, "edge-light"],
|
|
145
|
-
[N, "workerd"],
|
|
146
|
-
[L, "fastly"],
|
|
147
|
-
[D, "deno"],
|
|
148
|
-
[c, "bun"],
|
|
149
|
-
[O, "node"]
|
|
139
|
+
const d = u(), f = d.name, p = t.platform || ``, m = !!e.CI || d.ci !== !1, h = !!t.stdout?.isTTY, g = typeof window < `u`, _ = !!e.DEBUG, v = n === `test` || !!e.TEST, y = n === `production` || e.MODE === `production`, b = n === `dev` || n === `development` || e.MODE === `development`, x = !!e.MINIMAL || m || v || !h, S = /^win/i.test(p), C = /^linux/i.test(p), w = /^darwin/i.test(p), T = !e.NO_COLOR && (!!e.FORCE_COLOR || (h || S) && e.TERM !== `dumb` || m), E = (t.versions?.node || ``).replace(/^v/, ``) || null, D = Number(E?.split(`.`)[0]) || null, O = !!t?.versions?.node, k = `Bun` in globalThis, A = `Deno` in globalThis, j = `fastly` in globalThis, M = `Netlify` in globalThis, N = `EdgeRuntime` in globalThis, P = globalThis.navigator?.userAgent === `Cloudflare-Workers`, F = [
|
|
140
|
+
[M, `netlify`],
|
|
141
|
+
[N, `edge-light`],
|
|
142
|
+
[P, `workerd`],
|
|
143
|
+
[j, `fastly`],
|
|
144
|
+
[A, `deno`],
|
|
145
|
+
[k, `bun`],
|
|
146
|
+
[O, `node`]
|
|
150
147
|
];
|
|
151
|
-
function
|
|
152
|
-
|
|
148
|
+
function I() {
|
|
149
|
+
let e = F.find((e) => e[0]);
|
|
153
150
|
if (e) return { name: e[1] };
|
|
154
151
|
}
|
|
155
|
-
const
|
|
152
|
+
const L = I(), R = L?.name || ``;
|
|
156
153
|
//#endregion
|
|
157
|
-
export { o as env,
|
|
154
|
+
export { s as agent, o as agentInfo, a as detectAgent, u as detectProvider, e as env, h as hasTTY, g as hasWindow, c as isAgent, k as isBun, m as isCI, T as isColorSupported, _ as isDebug, A as isDeno, b as isDevelopment, N as isEdgeLight, j as isFastly, C as isLinux, w as isMacOS, x as isMinimal, M as isNetlify, O as isNode, y as isProduction, v as isTest, S as isWindows, P as isWorkerd, n as nodeENV, D as nodeMajorVersion, E as nodeVersion, p as platform, t as process, f as provider, d as providerInfo, R as runtime, L as runtimeInfo };
|
package/dist/worker.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { W as WorkerGlobalState, a as WorkerSetupContext, B as BirpcOptions } from './chunks/worker.d.
|
|
1
|
+
import { W as WorkerGlobalState, a as WorkerSetupContext, B as BirpcOptions } from './chunks/worker.d.B84sVRy0.js';
|
|
2
2
|
import { T as Traces } from './chunks/traces.d.402V_yFI.js';
|
|
3
3
|
import { Awaitable } from './@vitest/utils/index.js';
|
|
4
4
|
import { ModuleRunner } from '@voidzero-dev/vite-plus-core/module-runner';
|
|
5
|
-
import { R as RuntimeRPC } from './chunks/rpc.d.
|
|
5
|
+
import { R as RuntimeRPC } from './chunks/rpc.d.BFMWpdph.js';
|
|
6
6
|
import './@vitest/runner/index.js';
|
|
7
|
-
import './chunks/config.d.
|
|
7
|
+
import './chunks/config.d.EJLVE3es.js';
|
|
8
8
|
import './@vitest/pretty-format/index.js';
|
|
9
9
|
import './@vitest/snapshot/index.js';
|
|
10
10
|
import './@vitest/utils/diff.js';
|
|
11
11
|
import './chunks/environment.d.CrsxCzP1.js';
|
|
12
12
|
|
|
13
13
|
/** @experimental */
|
|
14
|
-
declare function
|
|
14
|
+
declare function setupBaseEnvironment(context: WorkerSetupContext): Promise<() => Promise<void>>;
|
|
15
15
|
/** @experimental */
|
|
16
16
|
declare function runBaseTests(method: "run" | "collect", state: WorkerGlobalState, traces: Traces): Promise<void>;
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ interface VitestWorker extends WorkerRpcOptions {
|
|
|
20
20
|
runTests: (state: WorkerGlobalState, traces: Traces) => Awaitable<unknown>;
|
|
21
21
|
collectTests: (state: WorkerGlobalState, traces: Traces) => Awaitable<unknown>;
|
|
22
22
|
onModuleRunner?: (moduleRunner: ModuleRunner) => Awaitable<unknown>;
|
|
23
|
-
setup?: (context: WorkerSetupContext) => Promise<() => Promise<unknown>>;
|
|
23
|
+
setup?: (context: WorkerSetupContext) => void | Promise<() => Promise<unknown>>;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
interface Options extends VitestWorker {
|
|
@@ -29,4 +29,4 @@ interface Options extends VitestWorker {
|
|
|
29
29
|
/** @experimental */
|
|
30
30
|
declare function init(worker: Options): void;
|
|
31
31
|
|
|
32
|
-
export { init, runBaseTests, setupEnvironment };
|
|
32
|
+
export { init, runBaseTests, setupBaseEnvironment as setupEnvironment };
|
package/dist/worker.js
CHANGED
|
@@ -1,48 +1,54 @@
|
|
|
1
|
-
export { r as runBaseTests, s as setupEnvironment } from './chunks/base.
|
|
2
|
-
export { i as init } from './chunks/init.
|
|
1
|
+
export { r as runBaseTests, s as setupEnvironment } from './chunks/base.DM0-RqVb.js';
|
|
2
|
+
export { i as init } from './chunks/init.DICorXCo.js';
|
|
3
3
|
import 'node:vm';
|
|
4
4
|
import './@vitest/spy/index.js';
|
|
5
|
-
import './chunks/index.
|
|
5
|
+
import './chunks/index.DGNSnENe.js';
|
|
6
6
|
import './@vitest/expect/index.js';
|
|
7
|
-
import '
|
|
7
|
+
import 'node:async_hooks';
|
|
8
|
+
import './chunks/setup-common.B41N_kPE.js';
|
|
8
9
|
import './chunks/coverage.D_JHT54q.js';
|
|
9
10
|
import './@vitest/snapshot/index.js';
|
|
10
11
|
import './@vitest/utils/timers.js';
|
|
11
|
-
import './chunks/utils.
|
|
12
|
-
import './chunks/rpc.
|
|
12
|
+
import './chunks/utils.BX5Fg8C4.js';
|
|
13
|
+
import './chunks/rpc.MzXet3jl.js';
|
|
13
14
|
import './chunks/index.Chj8NDwU.js';
|
|
14
|
-
import './chunks/test.
|
|
15
|
+
import './chunks/test.CTcmp4Su.js';
|
|
15
16
|
import './@vitest/runner/index.js';
|
|
16
17
|
import './@vitest/utils/helpers.js';
|
|
17
|
-
import './chunks/benchmark.
|
|
18
|
+
import './chunks/benchmark.D0SlKNbZ.js';
|
|
18
19
|
import './@vitest/runner/utils.js';
|
|
19
20
|
import './@vitest/utils/error.js';
|
|
20
21
|
import './vendor/pathe.mjs';
|
|
21
|
-
import './chunks/vi.2VT5v0um.js';
|
|
22
22
|
import './@vitest/utils/offset.js';
|
|
23
23
|
import './@vitest/utils/source-map.js';
|
|
24
24
|
import './chunks/_commonjsHelpers.D26ty3Ew.js';
|
|
25
|
-
import './chunks/
|
|
26
|
-
import '
|
|
27
|
-
import '
|
|
28
|
-
import './chunks/startModuleRunner.DEj0jb3e.js';
|
|
25
|
+
import './chunks/nativeModuleRunner.BIakptoF.js';
|
|
26
|
+
import 'node:url';
|
|
27
|
+
import './chunks/index.BCY_7LL2.js';
|
|
29
28
|
import 'node:fs';
|
|
30
|
-
import './chunks/modules.BJuCwlRJ.js';
|
|
31
29
|
import 'node:module';
|
|
32
|
-
import 'node:url';
|
|
33
|
-
import './path.js';
|
|
34
30
|
import 'node:path';
|
|
35
|
-
import '
|
|
36
|
-
import '
|
|
31
|
+
import 'node:process';
|
|
32
|
+
import 'node:fs/promises';
|
|
33
|
+
import 'node:assert';
|
|
34
|
+
import 'node:v8';
|
|
35
|
+
import 'node:util';
|
|
36
|
+
import '@voidzero-dev/vite-plus-core/module-runner';
|
|
37
37
|
import './chunks/traces.CCmnQaNT.js';
|
|
38
|
+
import './chunks/evaluatedModules.Dg1zASAC.js';
|
|
39
|
+
import './chunks/startVitestModuleRunner.C3ZR-4J3.js';
|
|
40
|
+
import './chunks/modules.BJuCwlRJ.js';
|
|
41
|
+
import './path.js';
|
|
42
|
+
import './module-evaluator.js';
|
|
38
43
|
import './@vitest/mocker/index.js';
|
|
44
|
+
import './@vitest/mocker/redirect.js';
|
|
39
45
|
import 'node:perf_hooks';
|
|
40
46
|
import './chunks/inspector.CvyFGlXm.js';
|
|
41
47
|
import 'node:timers';
|
|
42
48
|
import 'node:timers/promises';
|
|
43
|
-
import 'node:util';
|
|
44
49
|
import './@vitest/utils/constants.js';
|
|
45
|
-
import './chunks/index.
|
|
50
|
+
import './chunks/index.DlDSLQD3.js';
|
|
46
51
|
import './vendor/expect-type.mjs';
|
|
47
|
-
import './chunks/index.
|
|
52
|
+
import './chunks/index.EY6TCHpo.js';
|
|
48
53
|
import 'node:console';
|
|
54
|
+
import './@vitest/utils/serialize.js';
|