@voidzero-dev/vite-plus-test 0.0.0-0bfcc90f.20260209-0731
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 +691 -0
- package/browser/context.d.ts +4 -0
- package/browser/context.js +20 -0
- package/config.d.ts +3 -0
- package/coverage.d.ts +1 -0
- package/dist/@vitest/browser/client/.vite/manifest.json +24 -0
- package/dist/@vitest/browser/client/__vitest__/assets/index-BUCFJtth.js +57 -0
- package/dist/@vitest/browser/client/__vitest__/assets/index-DlhE0rqZ.css +1 -0
- package/dist/@vitest/browser/client/__vitest__/bg.png +0 -0
- package/dist/@vitest/browser/client/__vitest__/favicon.ico +0 -0
- package/dist/@vitest/browser/client/__vitest__/favicon.svg +5 -0
- package/dist/@vitest/browser/client/__vitest__/index.html +32 -0
- package/dist/@vitest/browser/client/__vitest_browser__/orchestrator-S_3e_uzt.js +345 -0
- package/dist/@vitest/browser/client/__vitest_browser__/tester-k74mgIRa.js +2171 -0
- package/dist/@vitest/browser/client/__vitest_browser__/utils-uxqdqUz8.js +223 -0
- package/dist/@vitest/browser/client/error-catcher.js +82 -0
- package/dist/@vitest/browser/client/esm-client-injector.js +67 -0
- package/dist/@vitest/browser/client/favicon.svg +5 -0
- package/dist/@vitest/browser/client/orchestrator.html +35 -0
- package/dist/@vitest/browser/client/tester/tester.html +13 -0
- package/dist/@vitest/browser/client.js +456 -0
- package/dist/@vitest/browser/context.d.ts +792 -0
- package/dist/@vitest/browser/context.js +541 -0
- package/dist/@vitest/browser/expect-element.js +32 -0
- package/dist/@vitest/browser/index-D6m36C6U.js +11 -0
- package/dist/@vitest/browser/index.d.ts +73 -0
- package/dist/@vitest/browser/index.js +3513 -0
- package/dist/@vitest/browser/jest-dom.d.ts +724 -0
- package/dist/@vitest/browser/locators.d.ts +354 -0
- package/dist/@vitest/browser/locators.js +1 -0
- package/dist/@vitest/browser/matchers.d.ts +29 -0
- package/dist/@vitest/browser/shared/screenshotMatcher/types.d.ts +22 -0
- package/dist/@vitest/browser/state.js +280 -0
- package/dist/@vitest/browser/types.d.ts +69 -0
- package/dist/@vitest/browser-playwright/context.d.ts +1 -0
- package/dist/@vitest/browser-playwright/index.d.ts +106 -0
- package/dist/@vitest/browser-playwright/index.js +1111 -0
- package/dist/@vitest/browser-playwright/locators.js +114 -0
- package/dist/@vitest/browser-preview/context.d.ts +1 -0
- package/dist/@vitest/browser-preview/index.d.ts +19 -0
- package/dist/@vitest/browser-preview/index.js +148 -0
- package/dist/@vitest/browser-preview/locators.js +79 -0
- package/dist/@vitest/browser-webdriverio/context.d.ts +1 -0
- package/dist/@vitest/browser-webdriverio/index.d.ts +63 -0
- package/dist/@vitest/browser-webdriverio/index.js +600 -0
- package/dist/@vitest/browser-webdriverio/locators.js +163 -0
- package/dist/@vitest/expect/index.d.ts +807 -0
- package/dist/@vitest/expect/index.js +1875 -0
- package/dist/@vitest/mocker/auto-register.d.ts +2 -0
- package/dist/@vitest/mocker/auto-register.js +9 -0
- package/dist/@vitest/mocker/automock.d.ts +12 -0
- package/dist/@vitest/mocker/automock.js +1 -0
- package/dist/@vitest/mocker/browser.d.ts +53 -0
- package/dist/@vitest/mocker/browser.js +91 -0
- package/dist/@vitest/mocker/chunk-automock.js +354 -0
- package/dist/@vitest/mocker/chunk-interceptor-native.js +15 -0
- package/dist/@vitest/mocker/chunk-mocker.js +521 -0
- package/dist/@vitest/mocker/chunk-pathe.M-eThtNZ.js +174 -0
- package/dist/@vitest/mocker/chunk-registry.js +185 -0
- package/dist/@vitest/mocker/chunk-utils.js +16 -0
- package/dist/@vitest/mocker/index.d-C-sLYZi-.d.ts +25 -0
- package/dist/@vitest/mocker/index.d.ts +2 -0
- package/dist/@vitest/mocker/index.js +185 -0
- package/dist/@vitest/mocker/mocker.d-TnKRhz7N.d.ts +81 -0
- package/dist/@vitest/mocker/node.d.ts +800 -0
- package/dist/@vitest/mocker/node.js +966 -0
- package/dist/@vitest/mocker/redirect.d.ts +3 -0
- package/dist/@vitest/mocker/redirect.js +79 -0
- package/dist/@vitest/mocker/register.d.ts +9 -0
- package/dist/@vitest/mocker/register.js +41 -0
- package/dist/@vitest/mocker/types.d-B8CCKmHt.d.ts +107 -0
- package/dist/@vitest/pretty-format/index.d.ts +124 -0
- package/dist/@vitest/pretty-format/index.js +1022 -0
- package/dist/@vitest/runner/chunk-tasks.js +340 -0
- package/dist/@vitest/runner/index.d.ts +180 -0
- package/dist/@vitest/runner/index.js +2114 -0
- package/dist/@vitest/runner/tasks.d-C7UxawJ9.d.ts +834 -0
- package/dist/@vitest/runner/types.d.ts +183 -0
- package/dist/@vitest/runner/types.js +1 -0
- package/dist/@vitest/runner/utils.d.ts +45 -0
- package/dist/@vitest/runner/utils.js +5 -0
- package/dist/@vitest/snapshot/environment.d-DHdQ1Csl.d.ts +22 -0
- package/dist/@vitest/snapshot/environment.d.ts +16 -0
- package/dist/@vitest/snapshot/environment.js +40 -0
- package/dist/@vitest/snapshot/index.d.ts +130 -0
- package/dist/@vitest/snapshot/index.js +1437 -0
- package/dist/@vitest/snapshot/manager.d.ts +18 -0
- package/dist/@vitest/snapshot/manager.js +73 -0
- package/dist/@vitest/snapshot/rawSnapshot.d-lFsMJFUd.d.ts +61 -0
- package/dist/@vitest/spy/index.d.ts +384 -0
- package/dist/@vitest/spy/index.js +433 -0
- package/dist/@vitest/utils/chunk-_commonjsHelpers.js +5 -0
- package/dist/@vitest/utils/chunk-pathe.M-eThtNZ.js +156 -0
- package/dist/@vitest/utils/constants.d.ts +21 -0
- package/dist/@vitest/utils/constants.js +49 -0
- package/dist/@vitest/utils/diff.d.ts +93 -0
- package/dist/@vitest/utils/diff.js +2199 -0
- package/dist/@vitest/utils/display.d.ts +29 -0
- package/dist/@vitest/utils/display.js +742 -0
- package/dist/@vitest/utils/error.d.ts +7 -0
- package/dist/@vitest/utils/error.js +42 -0
- package/dist/@vitest/utils/helpers.d.ts +73 -0
- package/dist/@vitest/utils/helpers.js +295 -0
- package/dist/@vitest/utils/highlight.d.ts +9 -0
- package/dist/@vitest/utils/highlight.js +538 -0
- package/dist/@vitest/utils/index.d.ts +5 -0
- package/dist/@vitest/utils/index.js +1 -0
- package/dist/@vitest/utils/offset.d.ts +5 -0
- package/dist/@vitest/utils/offset.js +32 -0
- package/dist/@vitest/utils/resolver.d.ts +7 -0
- package/dist/@vitest/utils/resolver.js +71 -0
- package/dist/@vitest/utils/serialize.d.ts +3 -0
- package/dist/@vitest/utils/serialize.js +118 -0
- package/dist/@vitest/utils/source-map.d.ts +55 -0
- package/dist/@vitest/utils/source-map.js +478 -0
- package/dist/@vitest/utils/timers.d.ts +33 -0
- package/dist/@vitest/utils/timers.js +49 -0
- package/dist/@vitest/utils/types.d-BCElaP-c.d.ts +53 -0
- package/dist/@vitest/utils/types.d.ts +34 -0
- package/dist/@vitest/utils/types.js +1 -0
- package/dist/browser-compat.js +3 -0
- package/dist/browser.d.ts +46 -0
- package/dist/browser.js +20 -0
- package/dist/chunks/_commonjsHelpers.D26ty3Ew.js +6 -0
- package/dist/chunks/base.CJ0Y4ePK.js +165 -0
- package/dist/chunks/benchmark.B3N2zMcH.js +40 -0
- package/dist/chunks/benchmark.d.DAaHLpsq.d.ts +24 -0
- package/dist/chunks/browser.d.ChKACdzH.d.ts +59 -0
- package/dist/chunks/cac.DVeoLl0M.js +1409 -0
- package/dist/chunks/cli-api.B7PN_QUv.js +13672 -0
- package/dist/chunks/config.d.Cy95HiCx.d.ts +210 -0
- package/dist/chunks/console.Cf-YriPC.js +146 -0
- package/dist/chunks/constants.D_Q9UYh-.js +36 -0
- package/dist/chunks/coverage.AVPTjMgw.js +3292 -0
- package/dist/chunks/coverage.D_JHT54q.js +25 -0
- package/dist/chunks/coverage.d.BZtK59WP.d.ts +37 -0
- package/dist/chunks/creator.DAmOKTvJ.js +673 -0
- package/dist/chunks/date.Bq6ZW5rf.js +73 -0
- package/dist/chunks/defaults.BOqNVLsY.js +74 -0
- package/dist/chunks/env.D4Lgay0q.js +8 -0
- package/dist/chunks/environment.d.CrsxCzP1.d.ts +29 -0
- package/dist/chunks/evaluatedModules.Dg1zASAC.js +17 -0
- package/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts +7 -0
- package/dist/chunks/git.Bm2pzPAa.js +71 -0
- package/dist/chunks/global.d.B15mdLcR.d.ts +99 -0
- package/dist/chunks/globals.DOayXfHP.js +30 -0
- package/dist/chunks/index.6Qv1eEA6.js +109 -0
- package/dist/chunks/index.C5r1PdPD.js +231 -0
- package/dist/chunks/index.Chj8NDwU.js +206 -0
- package/dist/chunks/index.CyBMJtT7.js +727 -0
- package/dist/chunks/index.D3XRDfWc.js +213 -0
- package/dist/chunks/index.D4KonVSU.js +6343 -0
- package/dist/chunks/index.M8mOzt4Y.js +3839 -0
- package/dist/chunks/index.Z5E_ObnR.js +37 -0
- package/dist/chunks/init-forks._y3TW739.js +41 -0
- package/dist/chunks/init-threads.DBO2kn-p.js +18 -0
- package/dist/chunks/init.B6MLFIaN.js +334 -0
- package/dist/chunks/inspector.CvyFGlXm.js +53 -0
- package/dist/chunks/modules.BJuCwlRJ.js +36 -0
- package/dist/chunks/node.Ce0vMQM7.js +14 -0
- package/dist/chunks/plugin.d.CtqpEehP.d.ts +38 -0
- package/dist/chunks/reporters.d.CWXNI2jG.d.ts +3271 -0
- package/dist/chunks/rpc.BoxB0q7B.js +76 -0
- package/dist/chunks/rpc.d.RH3apGEf.d.ts +64 -0
- package/dist/chunks/setup-common.Cm-kSBVi.js +60 -0
- package/dist/chunks/startModuleRunner.DEj0jb3e.js +861 -0
- package/dist/chunks/suite.d.BJWk38HB.d.ts +10 -0
- package/dist/chunks/test.B8ej_ZHS.js +254 -0
- package/dist/chunks/traces.CCmnQaNT.js +217 -0
- package/dist/chunks/traces.d.402V_yFI.d.ts +18 -0
- package/dist/chunks/utils.DvEY5TfP.js +52 -0
- package/dist/chunks/vi.2VT5v0um.js +3919 -0
- package/dist/chunks/vm.D3epNOPZ.js +744 -0
- package/dist/chunks/worker.d.Dyxm8DEL.d.ts +255 -0
- package/dist/cli.js +28 -0
- package/dist/client/.vite/manifest.json +24 -0
- package/dist/client/__vitest__/assets/index-BUCFJtth.js +57 -0
- package/dist/client/__vitest__/assets/index-DlhE0rqZ.css +1 -0
- package/dist/client/__vitest__/bg.png +0 -0
- package/dist/client/__vitest__/favicon.ico +0 -0
- package/dist/client/__vitest__/favicon.svg +5 -0
- package/dist/client/__vitest__/index.html +32 -0
- package/dist/client/__vitest_browser__/orchestrator-S_3e_uzt.js +345 -0
- package/dist/client/__vitest_browser__/tester-k74mgIRa.js +2171 -0
- package/dist/client/__vitest_browser__/utils-uxqdqUz8.js +223 -0
- package/dist/client/error-catcher.js +82 -0
- package/dist/client/esm-client-injector.js +67 -0
- package/dist/client/favicon.svg +5 -0
- package/dist/client/orchestrator.html +35 -0
- package/dist/client/tester/tester.html +13 -0
- package/dist/client.js +456 -0
- package/dist/config.cjs +94 -0
- package/dist/config.d.ts +104 -0
- package/dist/config.js +15 -0
- package/dist/context.js +541 -0
- package/dist/coverage.d.ts +118 -0
- package/dist/coverage.js +23 -0
- package/dist/dummy.js +2 -0
- package/dist/environments.d.ts +22 -0
- package/dist/environments.js +3 -0
- package/dist/expect-element.js +27 -0
- package/dist/index-D6m36C6U.js +6 -0
- package/dist/index-node.js +7 -0
- package/dist/index.d.ts +510 -0
- package/dist/index.js +19 -0
- package/dist/locators.d.ts +354 -0
- package/dist/locators.js +1 -0
- package/dist/mocker.d.ts +1 -0
- package/dist/mocker.js +1 -0
- package/dist/module-evaluator.d.ts +124 -0
- package/dist/module-evaluator.js +343 -0
- package/dist/module-runner-stub.js +44 -0
- package/dist/module-runner.js +17 -0
- package/dist/node.d.ts +251 -0
- package/dist/node.js +98 -0
- package/dist/path.js +7 -0
- package/dist/plugins/browser-client.mjs +2 -0
- package/dist/plugins/browser-context.mjs +2 -0
- package/dist/plugins/browser-locators.mjs +2 -0
- package/dist/plugins/browser-playwright.mjs +2 -0
- package/dist/plugins/browser-preview.mjs +2 -0
- package/dist/plugins/browser-webdriverio.mjs +2 -0
- package/dist/plugins/browser.mjs +2 -0
- package/dist/plugins/expect.mjs +2 -0
- package/dist/plugins/mocker-automock.mjs +2 -0
- package/dist/plugins/mocker-browser.mjs +2 -0
- package/dist/plugins/mocker-node.mjs +2 -0
- package/dist/plugins/mocker-redirect.mjs +2 -0
- package/dist/plugins/mocker-register.mjs +2 -0
- package/dist/plugins/mocker.mjs +2 -0
- package/dist/plugins/pretty-format.mjs +2 -0
- package/dist/plugins/runner-types.mjs +2 -0
- package/dist/plugins/runner-utils.mjs +2 -0
- package/dist/plugins/runner.mjs +2 -0
- package/dist/plugins/snapshot-environment.mjs +2 -0
- package/dist/plugins/snapshot-manager.mjs +2 -0
- package/dist/plugins/snapshot.mjs +2 -0
- package/dist/plugins/spy.mjs +2 -0
- package/dist/plugins/utils-constants.mjs +2 -0
- package/dist/plugins/utils-diff.mjs +2 -0
- package/dist/plugins/utils-display.mjs +2 -0
- package/dist/plugins/utils-error.mjs +2 -0
- package/dist/plugins/utils-helpers.mjs +2 -0
- package/dist/plugins/utils-highlight.mjs +2 -0
- package/dist/plugins/utils-offset.mjs +2 -0
- package/dist/plugins/utils-resolver.mjs +2 -0
- package/dist/plugins/utils-serialize.mjs +2 -0
- package/dist/plugins/utils-source-map.mjs +2 -0
- package/dist/plugins/utils-timers.mjs +2 -0
- package/dist/plugins/utils.mjs +2 -0
- package/dist/reporters.d.ts +27 -0
- package/dist/reporters.js +24 -0
- package/dist/runners.d.ts +50 -0
- package/dist/runners.js +19 -0
- package/dist/shared/screenshotMatcher/types.d.ts +22 -0
- package/dist/snapshot.d.ts +9 -0
- package/dist/snapshot.js +4 -0
- package/dist/spy.js +1 -0
- package/dist/state.js +280 -0
- package/dist/suite.d.ts +5 -0
- package/dist/suite.js +6 -0
- package/dist/types.d.ts +69 -0
- package/dist/vendor/chai.d.mts +1 -0
- package/dist/vendor/chai.mjs +3577 -0
- package/dist/vendor/es-module-lexer.d.mts +193 -0
- package/dist/vendor/es-module-lexer.mjs +79 -0
- package/dist/vendor/estree-walker.d.mts +583 -0
- package/dist/vendor/estree-walker.mjs +339 -0
- package/dist/vendor/expect-type.d.mts +1574 -0
- package/dist/vendor/expect-type.mjs +214 -0
- package/dist/vendor/magic-string.d.mts +261 -0
- package/dist/vendor/magic-string.mjs +1700 -0
- package/dist/vendor/obug.d.mts +56 -0
- package/dist/vendor/obug.mjs +276 -0
- package/dist/vendor/pathe.d.mts +46 -0
- package/dist/vendor/pathe.mjs +496 -0
- package/dist/vendor/picomatch.d.mts +1 -0
- package/dist/vendor/picomatch.mjs +1855 -0
- package/dist/vendor/shared-3g9mwCWP.mjs +31 -0
- package/dist/vendor/std-env.d.mts +88 -0
- package/dist/vendor/std-env.mjs +159 -0
- package/dist/vendor/tinybench.d.mts +317 -0
- package/dist/vendor/tinybench.mjs +504 -0
- package/dist/vendor/tinyexec.d.mts +72 -0
- package/dist/vendor/tinyexec.mjs +637 -0
- package/dist/vendor/tinyglobby.d.mts +157 -0
- package/dist/vendor/tinyglobby.mjs +832 -0
- package/dist/vendor/tinyrainbow.d.mts +60 -0
- package/dist/vendor/tinyrainbow.mjs +93 -0
- package/dist/vendor/vitest_browser.mjs +2 -0
- package/dist/vendor/vitest_internal_browser.mjs +2 -0
- package/dist/vendor/vitest_runner.mjs +2 -0
- package/dist/vendor/vitest_runners.mjs +2 -0
- package/dist/worker.d.ts +32 -0
- package/dist/worker.js +48 -0
- package/dist/workers/forks.js +54 -0
- package/dist/workers/runVmTests.js +95 -0
- package/dist/workers/threads.js +55 -0
- package/dist/workers/vmForks.js +36 -0
- package/dist/workers/vmThreads.js +37 -0
- package/environments.d.ts +1 -0
- package/globals.d.ts +20 -0
- package/import-meta.d.ts +5 -0
- package/importMeta.d.ts +4 -0
- package/index.cjs +5 -0
- package/index.d.cts +1 -0
- package/jsdom.d.ts +6 -0
- package/mocker.d.ts +1 -0
- package/node.d.ts +1 -0
- package/optional-types.d.ts +7 -0
- package/package.json +335 -0
- package/reporters.d.ts +1 -0
- package/runners.d.ts +1 -0
- package/snapshot.d.ts +1 -0
- package/suite.d.ts +1 -0
- package/suppress-warnings.cjs +21 -0
- package/vitest.mjs +2 -0
- package/worker.d.ts +1 -0
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import { UserEventClickOptions, UserEventClearOptions, UserEventHoverOptions, UserEventFillOptions, UserEventUploadOptions, UserEventDragAndDropOptions, UserEventSelectOptions, LocatorScreenshotOptions, LocatorByRoleOptions, LocatorOptions } from 'vitest/browser';
|
|
2
|
+
|
|
3
|
+
type ClauseCombinator = '' | '>' | '+' | '~' | '>=';
|
|
4
|
+
type CSSFunctionArgument = CSSComplexSelector | number | string;
|
|
5
|
+
interface CSSFunction {
|
|
6
|
+
name: string;
|
|
7
|
+
args: CSSFunctionArgument[];
|
|
8
|
+
}
|
|
9
|
+
interface CSSSimpleSelector {
|
|
10
|
+
css?: string;
|
|
11
|
+
functions: CSSFunction[];
|
|
12
|
+
}
|
|
13
|
+
interface CSSComplexSelector {
|
|
14
|
+
simples: {
|
|
15
|
+
selector: CSSSimpleSelector;
|
|
16
|
+
combinator: ClauseCombinator;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
19
|
+
type CSSComplexSelectorList = CSSComplexSelector[];
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Copyright (c) Microsoft Corporation.
|
|
23
|
+
*
|
|
24
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
25
|
+
* you may not use this file except in compliance with the License.
|
|
26
|
+
* You may obtain a copy of the License at
|
|
27
|
+
*
|
|
28
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29
|
+
*
|
|
30
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
31
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
32
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
33
|
+
* See the License for the specific language governing permissions and
|
|
34
|
+
* limitations under the License.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
interface NestedSelectorBody {
|
|
38
|
+
parsed: ParsedSelector;
|
|
39
|
+
distance?: number;
|
|
40
|
+
}
|
|
41
|
+
interface ParsedSelectorPart {
|
|
42
|
+
name: string;
|
|
43
|
+
body: string | CSSComplexSelectorList | NestedSelectorBody;
|
|
44
|
+
source: string;
|
|
45
|
+
}
|
|
46
|
+
interface ParsedSelector {
|
|
47
|
+
parts: ParsedSelectorPart[];
|
|
48
|
+
capture?: number;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Copyright (c) Microsoft Corporation.
|
|
53
|
+
*
|
|
54
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
55
|
+
* you may not use this file except in compliance with the License.
|
|
56
|
+
* You may obtain a copy of the License at
|
|
57
|
+
*
|
|
58
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
59
|
+
*
|
|
60
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
61
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
62
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
63
|
+
* See the License for the specific language governing permissions and
|
|
64
|
+
* limitations under the License.
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
interface GenerateSelectorOptions {
|
|
68
|
+
testIdAttributeName: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Copyright (c) Microsoft Corporation.
|
|
73
|
+
*
|
|
74
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
75
|
+
* you may not use this file except in compliance with the License.
|
|
76
|
+
* You may obtain a copy of the License at
|
|
77
|
+
*
|
|
78
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
79
|
+
*
|
|
80
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
81
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
82
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
83
|
+
* See the License for the specific language governing permissions and
|
|
84
|
+
* limitations under the License.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
interface ElementText {
|
|
88
|
+
full: string;
|
|
89
|
+
normalized: string;
|
|
90
|
+
immediate: string[];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Copyright (c) Microsoft Corporation.
|
|
95
|
+
*
|
|
96
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
97
|
+
* you may not use this file except in compliance with the License.
|
|
98
|
+
* You may obtain a copy of the License at
|
|
99
|
+
*
|
|
100
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
101
|
+
*
|
|
102
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
103
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
104
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
105
|
+
* See the License for the specific language governing permissions and
|
|
106
|
+
* limitations under the License.
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
interface QueryContext {
|
|
110
|
+
scope: Element | Document;
|
|
111
|
+
pierceShadow: boolean;
|
|
112
|
+
originalScope?: Element | Document;
|
|
113
|
+
}
|
|
114
|
+
type Selector = any;
|
|
115
|
+
interface SelectorEvaluator {
|
|
116
|
+
query: (context: QueryContext, selector: Selector) => Element[];
|
|
117
|
+
matches: (element: Element, selector: Selector, context: QueryContext) => boolean;
|
|
118
|
+
}
|
|
119
|
+
interface SelectorEngine$1 {
|
|
120
|
+
matches?: (element: Element, args: (string | number | Selector)[], context: QueryContext, evaluator: SelectorEvaluator) => boolean;
|
|
121
|
+
query?: (context: QueryContext, args: (string | number | Selector)[], evaluator: SelectorEvaluator) => Element[];
|
|
122
|
+
}
|
|
123
|
+
declare class SelectorEvaluatorImpl implements SelectorEvaluator {
|
|
124
|
+
private _engines;
|
|
125
|
+
private _cacheQueryCSS;
|
|
126
|
+
private _cacheMatches;
|
|
127
|
+
private _cacheQuery;
|
|
128
|
+
private _cacheMatchesSimple;
|
|
129
|
+
private _cacheMatchesParents;
|
|
130
|
+
private _cacheCallMatches;
|
|
131
|
+
private _cacheCallQuery;
|
|
132
|
+
private _cacheQuerySimple;
|
|
133
|
+
_cacheText: Map<Element | ShadowRoot, ElementText>;
|
|
134
|
+
private _scoreMap;
|
|
135
|
+
private _retainCacheCounter;
|
|
136
|
+
constructor(extraEngines: Map<string, SelectorEngine$1>);
|
|
137
|
+
begin(): void;
|
|
138
|
+
end(): void;
|
|
139
|
+
private _cached;
|
|
140
|
+
private _checkSelector;
|
|
141
|
+
matches(element: Element, s: Selector, context: QueryContext): boolean;
|
|
142
|
+
query(context: QueryContext, s: any): Element[];
|
|
143
|
+
_markScore(element: Element, score: number): void;
|
|
144
|
+
private _hasScopeClause;
|
|
145
|
+
private _expandContextForScopeMatching;
|
|
146
|
+
private _matchesSimple;
|
|
147
|
+
private _querySimple;
|
|
148
|
+
private _matchesParents;
|
|
149
|
+
private _matchesEngine;
|
|
150
|
+
private _queryEngine;
|
|
151
|
+
private _callMatches;
|
|
152
|
+
private _callQuery;
|
|
153
|
+
private _matchesCSS;
|
|
154
|
+
_queryCSS(context: QueryContext, css: string): Element[];
|
|
155
|
+
private _getEngine;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Copyright (c) Microsoft Corporation.
|
|
160
|
+
*
|
|
161
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
162
|
+
* you may not use this file except in compliance with the License.
|
|
163
|
+
* You may obtain a copy of the License at
|
|
164
|
+
*
|
|
165
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
166
|
+
*
|
|
167
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
168
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
169
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
170
|
+
* See the License for the specific language governing permissions and
|
|
171
|
+
* limitations under the License.
|
|
172
|
+
*/
|
|
173
|
+
interface ByRoleOptions {
|
|
174
|
+
checked?: boolean;
|
|
175
|
+
disabled?: boolean;
|
|
176
|
+
exact?: boolean;
|
|
177
|
+
expanded?: boolean;
|
|
178
|
+
includeHidden?: boolean;
|
|
179
|
+
level?: number;
|
|
180
|
+
name?: string | RegExp;
|
|
181
|
+
pressed?: boolean;
|
|
182
|
+
selected?: boolean;
|
|
183
|
+
}
|
|
184
|
+
declare function getByTestIdSelector(testIdAttributeName: string, testId: string | RegExp): string;
|
|
185
|
+
declare function getByLabelSelector(text: string | RegExp, options?: {
|
|
186
|
+
exact?: boolean;
|
|
187
|
+
}): string;
|
|
188
|
+
declare function getByAltTextSelector(text: string | RegExp, options?: {
|
|
189
|
+
exact?: boolean;
|
|
190
|
+
}): string;
|
|
191
|
+
declare function getByTitleSelector(text: string | RegExp, options?: {
|
|
192
|
+
exact?: boolean;
|
|
193
|
+
}): string;
|
|
194
|
+
declare function getByPlaceholderSelector(text: string | RegExp, options?: {
|
|
195
|
+
exact?: boolean;
|
|
196
|
+
}): string;
|
|
197
|
+
declare function getByTextSelector(text: string | RegExp, options?: {
|
|
198
|
+
exact?: boolean;
|
|
199
|
+
}): string;
|
|
200
|
+
declare function getByRoleSelector(role: string, options?: ByRoleOptions): string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Copyright (c) Microsoft Corporation.
|
|
204
|
+
*
|
|
205
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
206
|
+
* you may not use this file except in compliance with the License.
|
|
207
|
+
* You may obtain a copy of the License at
|
|
208
|
+
*
|
|
209
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
210
|
+
*
|
|
211
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
212
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
213
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
214
|
+
* See the License for the specific language governing permissions and
|
|
215
|
+
* limitations under the License.
|
|
216
|
+
*/
|
|
217
|
+
|
|
218
|
+
interface IvyaOptions {
|
|
219
|
+
testIdAttribute: string;
|
|
220
|
+
browser: 'webkit' | 'chromium' | 'firefox';
|
|
221
|
+
}
|
|
222
|
+
interface IvyaConfiguration {
|
|
223
|
+
testIdAttribute?: string;
|
|
224
|
+
browser: 'webkit' | 'chromium' | 'firefox';
|
|
225
|
+
}
|
|
226
|
+
declare class Ivya {
|
|
227
|
+
/** @internal */
|
|
228
|
+
_engines: Map<string, SelectorEngine>;
|
|
229
|
+
/** @internal */
|
|
230
|
+
_evaluator: SelectorEvaluatorImpl;
|
|
231
|
+
static options: IvyaOptions;
|
|
232
|
+
private static singleton;
|
|
233
|
+
static create(options: IvyaConfiguration): Ivya;
|
|
234
|
+
private constructor();
|
|
235
|
+
queryLocatorSelector(locator: string, root?: Node, strict?: boolean): Element | null;
|
|
236
|
+
queryLocatorSelectorAll(locator: string, root?: Node): Element[];
|
|
237
|
+
querySelector(selector: ParsedSelector, root: Node, strict?: boolean): Element | null;
|
|
238
|
+
queryAllByRole(text: string, options?: ByRoleOptions, container?: Node): Element[];
|
|
239
|
+
queryAllByLabelText(text: string | RegExp, options?: {
|
|
240
|
+
exact?: boolean;
|
|
241
|
+
}, container?: Node): Element[];
|
|
242
|
+
queryAllByTestId(text: string | RegExp, container?: Node): Element[];
|
|
243
|
+
queryAllByText(text: string | RegExp, options?: {
|
|
244
|
+
exact?: boolean;
|
|
245
|
+
}, container?: Node): Element[];
|
|
246
|
+
queryAllByTitle(text: string | RegExp, options?: {
|
|
247
|
+
exact?: boolean;
|
|
248
|
+
}, container?: Node): Element[];
|
|
249
|
+
queryAllByPlaceholder(text: string | RegExp, options?: {
|
|
250
|
+
exact?: boolean;
|
|
251
|
+
}, container?: Node): Element[];
|
|
252
|
+
queryAllByAltText(text: string | RegExp, options?: {
|
|
253
|
+
exact?: boolean;
|
|
254
|
+
}, container?: Node): Element[];
|
|
255
|
+
queryByRole(text: string, options?: ByRoleOptions, container?: Node): Element | null;
|
|
256
|
+
queryByLabelText(text: string | RegExp, options?: {
|
|
257
|
+
exact?: boolean;
|
|
258
|
+
}, container?: Node): Element | null;
|
|
259
|
+
queryByTestId(text: string | RegExp, container?: Node): Element | null;
|
|
260
|
+
queryByText(text: string | RegExp, options?: {
|
|
261
|
+
exact?: boolean;
|
|
262
|
+
}, container?: Node): Element | null;
|
|
263
|
+
queryByTitle(text: string | RegExp, options?: {
|
|
264
|
+
exact?: boolean;
|
|
265
|
+
}, container?: Node): Element | null;
|
|
266
|
+
queryByPlaceholder(text: string | RegExp, options?: {
|
|
267
|
+
exact?: boolean;
|
|
268
|
+
}, container?: Node): Element | null;
|
|
269
|
+
queryByAltText(text: string | RegExp, options?: {
|
|
270
|
+
exact?: boolean;
|
|
271
|
+
}, container?: Node): Element | null;
|
|
272
|
+
private strictModeViolationError;
|
|
273
|
+
generateSelectorSimple(targetElement: Element, options?: GenerateSelectorOptions): string;
|
|
274
|
+
parseSelector(selector: string): ParsedSelector;
|
|
275
|
+
previewNode(node: Node): string;
|
|
276
|
+
querySelectorAll(selector: ParsedSelector, root: Node): Element[];
|
|
277
|
+
private _queryEngineAll;
|
|
278
|
+
private _queryNth;
|
|
279
|
+
private _queryLayoutSelector;
|
|
280
|
+
private createStacklessError;
|
|
281
|
+
private _createTextEngine;
|
|
282
|
+
private _createAttributeEngine;
|
|
283
|
+
private _createCSSEngine;
|
|
284
|
+
private _createNamedAttributeEngine;
|
|
285
|
+
private _createVisibleEngine;
|
|
286
|
+
private _createControlEngine;
|
|
287
|
+
private _createHasEngine;
|
|
288
|
+
private _createHasNotEngine;
|
|
289
|
+
private _createInternalChainEngine;
|
|
290
|
+
private _createInternalLabelEngine;
|
|
291
|
+
private _createInternalHasTextEngine;
|
|
292
|
+
private _createInternalHasNotTextEngine;
|
|
293
|
+
}
|
|
294
|
+
type SelectorRoot = Element | ShadowRoot | Document;
|
|
295
|
+
interface SelectorEngine {
|
|
296
|
+
queryAll: (root: SelectorRoot, selector: string | any) => Element[];
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
declare function convertElementToCssSelector(element: Element): string;
|
|
300
|
+
declare function processTimeoutOptions<T extends {
|
|
301
|
+
timeout?: number;
|
|
302
|
+
}>(options_?: T): T | undefined;
|
|
303
|
+
declare function getIframeScale(): number;
|
|
304
|
+
|
|
305
|
+
declare const selectorEngine: Ivya;
|
|
306
|
+
declare abstract class Locator {
|
|
307
|
+
abstract selector: string;
|
|
308
|
+
private _parsedSelector;
|
|
309
|
+
protected _container?: Element | undefined;
|
|
310
|
+
protected _pwSelector?: string | undefined;
|
|
311
|
+
constructor();
|
|
312
|
+
click(options?: UserEventClickOptions): Promise<void>;
|
|
313
|
+
dblClick(options?: UserEventClickOptions): Promise<void>;
|
|
314
|
+
tripleClick(options?: UserEventClickOptions): Promise<void>;
|
|
315
|
+
clear(options?: UserEventClearOptions): Promise<void>;
|
|
316
|
+
hover(options?: UserEventHoverOptions): Promise<void>;
|
|
317
|
+
unhover(options?: UserEventHoverOptions): Promise<void>;
|
|
318
|
+
fill(text: string, options?: UserEventFillOptions): Promise<void>;
|
|
319
|
+
upload(files: string | string[] | File | File[], options?: UserEventUploadOptions): Promise<void>;
|
|
320
|
+
dropTo(target: Locator, options?: UserEventDragAndDropOptions): Promise<void>;
|
|
321
|
+
selectOptions(value: HTMLElement | HTMLElement[] | Locator | Locator[] | string | string[], options?: UserEventSelectOptions): Promise<void>;
|
|
322
|
+
screenshot(options: Omit<LocatorScreenshotOptions, "base64"> & {
|
|
323
|
+
base64: true;
|
|
324
|
+
}): Promise<{
|
|
325
|
+
path: string;
|
|
326
|
+
base64: string;
|
|
327
|
+
}>;
|
|
328
|
+
screenshot(options?: LocatorScreenshotOptions): Promise<string>;
|
|
329
|
+
protected abstract locator(selector: string): Locator;
|
|
330
|
+
protected abstract elementLocator(element: Element): Locator;
|
|
331
|
+
getByRole(role: string, options?: LocatorByRoleOptions): Locator;
|
|
332
|
+
getByAltText(text: string | RegExp, options?: LocatorOptions): Locator;
|
|
333
|
+
getByLabelText(text: string | RegExp, options?: LocatorOptions): Locator;
|
|
334
|
+
getByPlaceholder(text: string | RegExp, options?: LocatorOptions): Locator;
|
|
335
|
+
getByTestId(testId: string | RegExp): Locator;
|
|
336
|
+
getByText(text: string | RegExp, options?: LocatorOptions): Locator;
|
|
337
|
+
getByTitle(title: string | RegExp, options?: LocatorOptions): Locator;
|
|
338
|
+
filter(filter: LocatorOptions): Locator;
|
|
339
|
+
and(locator: Locator): Locator;
|
|
340
|
+
or(locator: Locator): Locator;
|
|
341
|
+
query(): HTMLElement | SVGElement | null;
|
|
342
|
+
element(): HTMLElement | SVGElement;
|
|
343
|
+
elements(): (HTMLElement | SVGElement)[];
|
|
344
|
+
get length(): number;
|
|
345
|
+
all(): Locator[];
|
|
346
|
+
nth(index: number): Locator;
|
|
347
|
+
first(): Locator;
|
|
348
|
+
last(): Locator;
|
|
349
|
+
toString(): string;
|
|
350
|
+
toJSON(): string;
|
|
351
|
+
protected triggerCommand<T>(command: string, ...args: any[]): Promise<T>;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export { Locator, convertElementToCssSelector, getByAltTextSelector, getByLabelSelector, getByPlaceholderSelector, getByRoleSelector, getByTestIdSelector, getByTextSelector, getByTitleSelector, getIframeScale, processTimeoutOptions, selectorEngine };
|
package/dist/locators.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{L as Locator,n as convertElementToCssSelector,q as getByAltTextSelector,r as getByLabelSelector,t as getByPlaceholderSelector,u as getByRoleSelector,v as getByTestIdSelector,w as getByTextSelector,x as getByTitleSelector,o as getIframeScale,p as processTimeoutOptions,s as selectorEngine}from"./index-D6m36C6U.js";import"vitest/browser";import"vitest/internal/browser";
|
package/dist/mocker.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './@vitest/mocker/index.js';
|
package/dist/mocker.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './@vitest/mocker/index.js';
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { ModuleEvaluator, ModuleRunnerImportMeta, ModuleRunnerContext, EvaluatedModuleNode } from '@voidzero-dev/vite-plus-core/module-runner';
|
|
2
|
+
import { V as VitestEvaluatedModules } from './chunks/evaluatedModules.d.BxJ5omdx.js';
|
|
3
|
+
import vm from 'node:vm';
|
|
4
|
+
import { R as RuntimeRPC } from './chunks/rpc.d.RH3apGEf.js';
|
|
5
|
+
import './@vitest/runner/index.js';
|
|
6
|
+
import './@vitest/snapshot/index.js';
|
|
7
|
+
import './chunks/traces.d.402V_yFI.js';
|
|
8
|
+
|
|
9
|
+
type ModuleExecutionInfo = Map<string, ModuleExecutionInfoEntry>;
|
|
10
|
+
interface ModuleExecutionInfoEntry {
|
|
11
|
+
startOffset: number;
|
|
12
|
+
/** The duration that was spent executing the module. */
|
|
13
|
+
duration: number;
|
|
14
|
+
/** The time that was spent executing the module itself and externalized imports. */
|
|
15
|
+
selfTime: number;
|
|
16
|
+
external?: boolean;
|
|
17
|
+
importer?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class FileMap {
|
|
21
|
+
private fsCache;
|
|
22
|
+
private fsBufferCache;
|
|
23
|
+
readFileAsync(path: string): Promise<string>;
|
|
24
|
+
readFile(path: string): string;
|
|
25
|
+
readBuffer(path: string): Buffer<ArrayBuffer>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface ModuleEvaluateOptions {
|
|
29
|
+
timeout?: vm.RunningScriptOptions["timeout"] | undefined;
|
|
30
|
+
breakOnSigint?: vm.RunningScriptOptions["breakOnSigint"] | undefined;
|
|
31
|
+
}
|
|
32
|
+
type ModuleLinker = (specifier: string, referencingModule: VMModule, extra: {
|
|
33
|
+
assert: object;
|
|
34
|
+
}) => VMModule | Promise<VMModule>;
|
|
35
|
+
type ModuleStatus = "unlinked" | "linking" | "linked" | "evaluating" | "evaluated" | "errored";
|
|
36
|
+
declare class VMModule {
|
|
37
|
+
dependencySpecifiers: readonly string[];
|
|
38
|
+
error: any;
|
|
39
|
+
identifier: string;
|
|
40
|
+
context: vm.Context;
|
|
41
|
+
namespace: object;
|
|
42
|
+
status: ModuleStatus;
|
|
43
|
+
evaluate(options?: ModuleEvaluateOptions): Promise<void>;
|
|
44
|
+
link(linker: ModuleLinker): Promise<void>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface ExternalModulesExecutorOptions {
|
|
48
|
+
context: vm.Context;
|
|
49
|
+
fileMap: FileMap;
|
|
50
|
+
packageCache: Map<string, any>;
|
|
51
|
+
transform: RuntimeRPC["transform"];
|
|
52
|
+
interopDefault?: boolean;
|
|
53
|
+
viteClientModule: Record<string, unknown>;
|
|
54
|
+
}
|
|
55
|
+
declare class ExternalModulesExecutor {
|
|
56
|
+
#private;
|
|
57
|
+
private options;
|
|
58
|
+
private cjs;
|
|
59
|
+
private esm;
|
|
60
|
+
private vite;
|
|
61
|
+
private context;
|
|
62
|
+
private fs;
|
|
63
|
+
private resolvers;
|
|
64
|
+
constructor(options: ExternalModulesExecutorOptions);
|
|
65
|
+
import(identifier: string): Promise<object>;
|
|
66
|
+
require(identifier: string): any;
|
|
67
|
+
createRequire(identifier: string): NodeJS.Require;
|
|
68
|
+
importModuleDynamically: (specifier: string, referencer: VMModule) => Promise<VMModule>;
|
|
69
|
+
resolveModule: (specifier: string, referencer: string) => Promise<VMModule>;
|
|
70
|
+
resolve(specifier: string, parent: string): string;
|
|
71
|
+
private getModuleInformation;
|
|
72
|
+
private createModule;
|
|
73
|
+
private get isNetworkSupported();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare module "vite/module-runner" {
|
|
77
|
+
interface EvaluatedModuleNode {
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
mockedExports?: Record<string, any>;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface VitestVmOptions {
|
|
86
|
+
context: vm.Context;
|
|
87
|
+
externalModulesExecutor: ExternalModulesExecutor;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
interface VitestModuleEvaluatorOptions {
|
|
91
|
+
evaluatedModules?: VitestEvaluatedModules;
|
|
92
|
+
interopDefault?: boolean | undefined;
|
|
93
|
+
moduleExecutionInfo?: ModuleExecutionInfo;
|
|
94
|
+
getCurrentTestFilepath?: () => string | undefined;
|
|
95
|
+
compiledFunctionArgumentsNames?: string[];
|
|
96
|
+
compiledFunctionArgumentsValues?: unknown[];
|
|
97
|
+
}
|
|
98
|
+
declare class VitestModuleEvaluator implements ModuleEvaluator {
|
|
99
|
+
private options;
|
|
100
|
+
stubs: Record<string, any>;
|
|
101
|
+
env: ModuleRunnerImportMeta["env"];
|
|
102
|
+
private vm;
|
|
103
|
+
private compiledFunctionArgumentsNames?;
|
|
104
|
+
private compiledFunctionArgumentsValues;
|
|
105
|
+
private primitives;
|
|
106
|
+
private debug;
|
|
107
|
+
private _otel;
|
|
108
|
+
private _evaluatedModules?;
|
|
109
|
+
constructor(vmOptions?: VitestVmOptions | undefined, options?: VitestModuleEvaluatorOptions);
|
|
110
|
+
private convertIdToImportUrl;
|
|
111
|
+
runExternalModule(id: string): Promise<any>;
|
|
112
|
+
runInlinedModule(context: ModuleRunnerContext, code: string, module: Readonly<EvaluatedModuleNode>): Promise<any>;
|
|
113
|
+
private _runInlinedModule;
|
|
114
|
+
private createRequire;
|
|
115
|
+
private shouldInterop;
|
|
116
|
+
}
|
|
117
|
+
declare function createImportMetaEnvProxy(): ModuleRunnerImportMeta["env"];
|
|
118
|
+
declare function getDefaultRequestStubs(context?: vm.Context): Record<string, any>;
|
|
119
|
+
declare function isPrimitive(v: any): boolean;
|
|
120
|
+
declare function wrapId(id: string): string;
|
|
121
|
+
declare function unwrapId(id: string): string;
|
|
122
|
+
|
|
123
|
+
export { VitestModuleEvaluator, createImportMetaEnvProxy, getDefaultRequestStubs, isPrimitive, unwrapId, wrapId };
|
|
124
|
+
export type { VitestModuleEvaluatorOptions };
|