@provino/dialect-vitest 0.0.0-stage → 0.1.0-rc.1

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Pixel Perfect Software
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,9 @@
1
- # Temporary Holding Version
1
+ # @provino/dialect-vitest
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Provino's Vitest 5.0 dialect: Vitest's policy values, its hoisting rules, and the `.each` title formatting and pretty-format code copied from Vitest. It is not wired into a run yet: `provino vitest` is not available, and the Vitest config reader, flags and `vi` object are not built.
4
+
5
+ This package is a building block of [Provino](https://github.com/pixel-perfect-software/provino), a test runner for Jest projects, on npm as [`provino`](https://www.npmjs.com/package/provino). The `provino` bundle does not include it yet, because nothing reaches it from a run.
6
+
7
+ **Versioning:** this package's public API is held to semver before 1.0: its API report is committed in the repository, under `etc/`, and a change to a `@public` signature needs a changeset.
8
+
9
+ [MIT](https://github.com/pixel-perfect-software/provino/blob/main/LICENSE)
@@ -0,0 +1,266 @@
1
+ # Third-party notices
2
+
3
+ Provino includes code copied from the projects below. Each vendor directory has an `UPSTREAM.md` naming the source, the version and every local change.
4
+
5
+ This file is the license notice for that code. Source files keep the license header they had upstream, but the build does not carry every header into a package's `dist`: it keeps some and drops others, and a few copied files never had one (`natural-compare`'s only says `@license MIT License`; Vitest's `jsdom-keys.ts` and `.each` title code have none). So the published `provino` package, and every other package whose `dist` holds copied code (`@provino/dialect-jest`, `@provino/dialect-vitest`, `@provino/snapshot`, `@provino/env-shared` and `@provino/coverage`), ships this file as `THIRD_PARTY_NOTICES.md`, and `pnpm hygiene` fails a package that holds copied code without it. Each of those copies must equal this file.
6
+
7
+ ## Jest
8
+
9
+ `packages/dialect-jest/src/runtime/vendor/jest-expect/` is copied from Jest v30.5.2 (https://github.com/jestjs/jest).
10
+
11
+ `packages/dialect-jest/src/runtime/vendor/jest-circus/` is copied from Jest v30.5.2 (`jest-circus`'s `src/formatNodeAssertErrors.ts`).
12
+
13
+ `packages/dialect-jest/src/each/vendor/jest-each/` is copied from Jest v30.5.2 (`jest-each`'s `table/array.ts` and `table/interpolation.ts`, and one function of `jest-regex-util`).
14
+
15
+ `packages/dialect-jest/src/runtime/vendor/jest-snapshot/` and `packages/snapshot/src/vendor/deep-merge.ts` are copied from Jest v30.5.2, `packages/jest-snapshot/src/mockSerializer.ts` and `utils.ts`.
16
+
17
+ Smaller copies from Jest v30.5.x that have no vendor directory, each with its source named in the file's own comments:
18
+
19
+ - `packages/dialect-jest/src/node/cli-table.ts` is jest-cli's table of command-line options, with each option's description (`src/args.ts`).
20
+ - `packages/dialect-jest/src/node/valid-config.ts` is jest-config's example configs that validation checks against (`ValidConfig.ts`).
21
+ - `packages/dialect-jest/src/node/text.ts` holds message texts from jest-config and jest-validate.
22
+ - `packages/dialect-jest/src/node/docblock.ts` and `packages/orchestrator/src/worker/internal/runtime/pragmas.ts` hold the regular expressions of jest-docblock's `extract` and `parse` (`index.ts`).
23
+
24
+ `packages/harness/src/hoist-corpus/vendor/jest.json` holds test inputs copied from Jest v30.5.2, `packages/babel-plugin-jest-hoist/src/__tests__/hoistPlugin.nodejs18.test.ts`. Same MIT license as below. It is not part of any published package.
25
+
26
+ ```
27
+ MIT License
28
+
29
+ Copyright (c) Meta Platforms, Inc. and affiliates.
30
+ Copyright Contributors to the Jest project.
31
+
32
+ Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ of this software and associated documentation files (the "Software"), to deal
34
+ in the Software without restriction, including without limitation the rights
35
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ copies of the Software, and to permit persons to whom the Software is
37
+ furnished to do so, subject to the following conditions:
38
+
39
+ The above copyright notice and this permission notice shall be included in all
40
+ copies or substantial portions of the Software.
41
+
42
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48
+ SOFTWARE.
49
+ ```
50
+
51
+ ## Vitest
52
+
53
+ `packages/dialect-vitest/src/vendor/pretty-format/` is copied from Vitest v5.0.5 (https://github.com/vitest-dev/vitest), `packages/pretty-format/src/` and `packages/snapshot/src/port/mockSerializer.ts`; the files keep the Meta Platforms license header they were forked with (`mockSerializer.ts` is Jest's, under its older "Facebook, Inc." name: the Jest license above).
54
+
55
+ `packages/harness/src/hoist-corpus/vendor/vitest.json` holds test inputs copied from Vitest v5.0.5 (https://github.com/vitest-dev/vitest), `test/unit/test/injector-mock.test.ts`. It is not part of any published package.
56
+
57
+ `packages/dialect-vitest/src/each/vendor/` is copied from Vitest v5.0.5: `formatTitle` from the runner's `suite.ts`, `display.ts` and parts of `helpers.ts` from `@vitest/utils`, and `@vitest/pretty-format` (a fork of Jest's pretty-format, so its files keep Meta's MIT header).
58
+
59
+ `packages/env-shared/src/vendor/vitest/jsdom-keys.ts` is copied unchanged from Vitest v5.0.5, `packages/vitest/src/integrations/env/jsdom-keys.ts`: the keys jsdom's interfaces and window add. The file has no license header. `provino` ships it, through `@provino/env-shared`.
60
+
61
+ ```
62
+ MIT License
63
+
64
+ Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
65
+
66
+ Permission is hereby granted, free of charge, to any person obtaining a copy
67
+ of this software and associated documentation files (the "Software"), to deal
68
+ in the Software without restriction, including without limitation the rights
69
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
70
+ copies of the Software, and to permit persons to whom the Software is
71
+ furnished to do so, subject to the following conditions:
72
+
73
+ The above copyright notice and this permission notice shall be included in all
74
+ copies or substantial portions of the Software.
75
+
76
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
77
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
78
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
79
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
80
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
81
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
82
+ SOFTWARE.
83
+ ```
84
+
85
+ ## natural-compare
86
+
87
+ `packages/snapshot/src/vendor/natural-compare.ts` is natural-compare 1.4.0 by Lauri Rooden (https://github.com/litejs/natural-compare-lite), ported to TypeScript. It orders the keys of a `.snap` file as Jest and Vitest do.
88
+
89
+ ```
90
+ MIT License
91
+
92
+ Copyright (c) 2015 Lauri Rooden
93
+
94
+ Permission is hereby granted, free of charge, to any person obtaining a copy
95
+ of this software and associated documentation files (the "Software"), to deal
96
+ in the Software without restriction, including without limitation the rights
97
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
98
+ copies of the Software, and to permit persons to whom the Software is
99
+ furnished to do so, subject to the following conditions:
100
+
101
+ The above copyright notice and this permission notice shall be included in all
102
+ copies or substantial portions of the Software.
103
+
104
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
105
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
106
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
107
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
108
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
109
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
110
+ SOFTWARE.
111
+ ```
112
+
113
+ ## @vitest/istanbul-lib-instrument
114
+
115
+ `packages/coverage/src/vendor/istanbul-lib-instrument/` is copied from `@vitest/istanbul-lib-instrument` 2.1.0 (https://github.com/vitest-dev/istanbuljs, tag `v2.1.0`), Vitest's fork of `istanbul-lib-instrument` that parses with Oxc. It instruments the code for `--coverage`. The package's `LICENSE` holds two licenses: the original `istanbuljs` BSD-3-Clause license (Yahoo! Inc.) and the Vitest MIT license, and both apply.
116
+
117
+ ```
118
+ Copyright 2012-2015 Yahoo! Inc.
119
+ All rights reserved.
120
+
121
+ Redistribution and use in source and binary forms, with or without
122
+ modification, are permitted provided that the following conditions are met:
123
+ * Redistributions of source code must retain the above copyright
124
+ notice, this list of conditions and the following disclaimer.
125
+ * Redistributions in binary form must reproduce the above copyright
126
+ notice, this list of conditions and the following disclaimer in the
127
+ documentation and/or other materials provided with the distribution.
128
+ * Neither the name of the Yahoo! Inc. nor the
129
+ names of its contributors may be used to endorse or promote products
130
+ derived from this software without specific prior written permission.
131
+
132
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
133
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
134
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
135
+ DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY
136
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
137
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
138
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
139
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
140
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
141
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
142
+
143
+ MIT License
144
+
145
+ Copyright (c) 2021-Present VoidZero Inc. and Vitest contributors
146
+
147
+ Permission is hereby granted, free of charge, to any person obtaining a copy
148
+ of this software and associated documentation files (the "Software"), to deal
149
+ in the Software without restriction, including without limitation the rights
150
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
151
+ copies of the Software, and to permit persons to whom the Software is
152
+ furnished to do so, subject to the following conditions:
153
+
154
+ The above copyright notice and this permission notice shall be included in all
155
+ copies or substantial portions of the Software.
156
+
157
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
158
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
159
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
160
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
161
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
162
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
163
+ SOFTWARE.
164
+ ```
165
+
166
+ ## Jenkins xunit plugin
167
+
168
+ `packages/reporters/src/junit/vendor/junit-10.xsd` is the JUnit schema of the Jenkins xunit plugin (https://github.com/jenkinsci/xunit-plugin, commit `ae25da5089d4f94ac6c4669bf736e4d416cc4665`), copied unchanged. It is used only by the JUnit reporter's test, to check the reporter's output with `xmllint-wasm`. It is not part of any published package. The file carries its own license header:
169
+
170
+ ```
171
+ The MIT License (MIT)
172
+
173
+ Copyright (c) 2014, Gregory Boissinot
174
+
175
+ Permission is hereby granted, free of charge, to any person obtaining a copy
176
+ of this software and associated documentation files (the "Software"), to deal
177
+ in the Software without restriction, including without limitation the rights
178
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
179
+ copies of the Software, and to permit persons to whom the Software is
180
+ furnished to do so, subject to the following conditions:
181
+
182
+ The above copyright notice and this permission notice shall be included in
183
+ all copies or substantial portions of the Software.
184
+
185
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
186
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
187
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
188
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
189
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
190
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
191
+ THE SOFTWARE.
192
+ ```
193
+
194
+ ## vscode-jest
195
+
196
+ `packages/harness/fixtures/cli/reporters-twenty/fixture.json` holds, as the text of a file, the reporter vscode-jest 6.4.4 ships (`extension/out/reporter.js`, from the `vscode-jest-6.4.4.vsix` release asset of the jest-community/vscode-jest repository, tag `v6.4.4`), unmodified; `UPSTREAM.md` beside it has the asset's checksum. The same reporter, unmodified, is the `fixture.json` of each IDE-replay fixture in `packages/harness/fixtures/ide/vscode-jest-all`, `packages/harness/fixtures/ide/vscode-jest-dashed`, `packages/harness/fixtures/ide/vscode-jest-file`, `packages/harness/fixtures/ide/vscode-jest-pattern`, `packages/harness/fixtures/ide/vscode-jest-coverage`, `packages/harness/fixtures/ide/vscode-jest-related`, `packages/harness/fixtures/ide/vscode-jest-watch`, `packages/harness/fixtures/ide/vscode-jest-watch-all`, `packages/harness/fixtures/ide/vscode-jest-test-pattern`, `packages/harness/fixtures/ide/vscode-jest-test`, `packages/harness/fixtures/ide/vscode-jest-update-snapshot`, with an `UPSTREAM.md` beside each. All of these are test fixtures: none is part of any published package. The extension's license:
197
+
198
+ ```
199
+ MIT License
200
+
201
+ Copyright (c) 2016 Orta
202
+
203
+ Permission is hereby granted, free of charge, to any person obtaining a copy
204
+ of this software and associated documentation files (the "Software"), to deal
205
+ in the Software without restriction, including without limitation the rights
206
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
207
+ copies of the Software, and to permit persons to whom the Software is
208
+ furnished to do so, subject to the following conditions:
209
+
210
+ The above copyright notice and this permission notice shall be included in all
211
+ copies or substantial portions of the Software.
212
+
213
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
214
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
215
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
216
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
217
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
218
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
219
+ SOFTWARE.
220
+ ```
221
+
222
+ ## Unicode Character Database
223
+
224
+ `packages/reporters/src/live/terminal/vendor/width-table.ts` is generated from the Unicode Character Database 16.0.0 (`EastAsianWidth.txt` and `emoji-data.txt`, https://www.unicode.org/Public/16.0.0/ucd/) by `packages/reporters/scripts/width-table.ts`, with an `UPSTREAM.md` beside it. It is part of `@provino/reporters` and so of `provino`. The data files' license:
225
+
226
+ ```
227
+ UNICODE LICENSE V3
228
+
229
+ COPYRIGHT AND PERMISSION NOTICE
230
+
231
+ Copyright © 1991-2026 Unicode, Inc.
232
+
233
+ NOTICE TO USER: Carefully read the following legal agreement. BY
234
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
235
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
236
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
237
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
238
+
239
+ Permission is hereby granted, free of charge, to any person obtaining a
240
+ copy of data files and any associated documentation (the "Data Files") or
241
+ software and any associated documentation (the "Software") to deal in the
242
+ Data Files or Software without restriction, including without limitation
243
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
244
+ copies of the Data Files or Software, and to permit persons to whom the
245
+ Data Files or Software are furnished to do so, provided that either (a)
246
+ this copyright and permission notice appear with all copies of the Data
247
+ Files or Software, or (b) this copyright and permission notice appear in
248
+ associated Documentation.
249
+
250
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
251
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
252
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
253
+ THIRD PARTY RIGHTS.
254
+
255
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
256
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
257
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
258
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
259
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
260
+ FILES OR SOFTWARE.
261
+
262
+ Except as contained in this notice, the name of a copyright holder shall
263
+ not be used in advertising or otherwise to promote the sale, use or other
264
+ dealings in these Data Files or Software without prior written
265
+ authorization of the copyright holder.
266
+ ```
@@ -0,0 +1,49 @@
1
+ import { Dialect, HoistPolicy, MockPolicy, ModulePolicy, PolicyOverrides } from "@provino/types";
2
+ /**
3
+ * Vitest 5.0's policy (with `sequence.hooks: 'stack'`, its default), layered over the neutral
4
+ * policy by `resolvePolicy`. This is `vitestDialect.policy`, typed as the overrides it is.
5
+ * @public
6
+ */
7
+ export declare const vitestPolicy: PolicyOverrides;
8
+ /**
9
+ * What a project config may put under `vitest`: nothing yet, so only an empty object. Vitest's own
10
+ * options arrive with the config reader (T11.15, Phase 2).
11
+ * @public
12
+ */
13
+ type VitestDialectOptions = Record<string, never>;
14
+ declare module "@provino/types" {
15
+ interface DialectRegistry {
16
+ vitest: VitestDialectOptions;
17
+ }
18
+ }
19
+ /**
20
+ * The Vitest 5.0 dialect: its policy values, the globals it injects and its type entries. The
21
+ * config reader, the CLI flags and the `vitest` facade come with T11.15 and T11.16 (Phase 2); until
22
+ * then the globals factory is a stub that throws.
23
+ * @public
24
+ */
25
+ export declare const vitestDialect: Dialect<"vitest">;
26
+ /**
27
+ * How many characters of a value Vitest keeps in a `.each` title (`taskTitleValueFormatTruncate`,
28
+ * 40 by default). A behaviour function takes no policy, so `formatEachTitle` holds this number
29
+ * itself, and `vitestPolicy.core.eachTitleTruncate` is the same constant.
30
+ * @public
31
+ */
32
+ export declare const VITEST_EACH_TITLE_TRUNCATE: number;
33
+ /**
34
+ * Vitest 5.0's mock-hoisting policy.
35
+ * @public
36
+ */
37
+ export declare const vitestHoistPolicy: HoistPolicy;
38
+ /**
39
+ * Vitest 5.0's `mock` slice.
40
+ * @public
41
+ */
42
+ export declare const vitestMockPolicy: MockPolicy;
43
+ /**
44
+ * Vitest 5.0's `module` slice. The texts are copied from `.refs/vitest` (v5.0.5); the two with
45
+ * `{raw}` carry the specifier as written.
46
+ * @public
47
+ */
48
+ export declare const vitestModulePolicy: ModulePolicy;
49
+ export type { VitestDialectOptions };