@codyswann/lisa 4.33.13 → 4.34.0
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/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +6 -2
- package/dist/configs/vitest/base.d.ts +12 -0
- package/dist/configs/vitest/base.d.ts.map +1 -1
- package/dist/configs/vitest/base.js +18 -4
- package/dist/configs/vitest/base.js.map +1 -1
- package/dist/configs/vitest/cdk.d.ts +2 -2
- package/dist/configs/vitest/cdk.d.ts.map +1 -1
- package/dist/configs/vitest/cdk.js +3 -3
- package/dist/configs/vitest/cdk.js.map +1 -1
- package/dist/configs/vitest/coverage-include-authority.d.ts +41 -0
- package/dist/configs/vitest/coverage-include-authority.d.ts.map +1 -0
- package/dist/configs/vitest/coverage-include-authority.js +108 -0
- package/dist/configs/vitest/coverage-include-authority.js.map +1 -0
- package/dist/configs/vitest/coverage-include-global-setup.d.ts +32 -0
- package/dist/configs/vitest/coverage-include-global-setup.d.ts.map +1 -0
- package/dist/configs/vitest/coverage-include-global-setup.js +62 -0
- package/dist/configs/vitest/coverage-include-global-setup.js.map +1 -0
- package/dist/configs/vitest/harper-fabric.d.ts +2 -2
- package/dist/configs/vitest/harper-fabric.d.ts.map +1 -1
- package/dist/configs/vitest/harper-fabric.js +3 -3
- package/dist/configs/vitest/harper-fabric.js.map +1 -1
- package/dist/configs/vitest/nestjs.d.ts +2 -2
- package/dist/configs/vitest/nestjs.d.ts.map +1 -1
- package/dist/configs/vitest/nestjs.js +3 -3
- package/dist/configs/vitest/nestjs.js.map +1 -1
- package/dist/configs/vitest/phaser.d.ts +2 -2
- package/dist/configs/vitest/phaser.d.ts.map +1 -1
- package/dist/configs/vitest/phaser.js +3 -3
- package/dist/configs/vitest/phaser.js.map +1 -1
- package/dist/configs/vitest/typescript.d.ts +2 -2
- package/dist/configs/vitest/typescript.d.ts.map +1 -1
- package/dist/configs/vitest/typescript.js +3 -3
- package/dist/configs/vitest/typescript.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +2 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +8 -4
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-workstation/scripts/catalogue.mjs +29 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-track/SKILL.md +17 -6
- package/plugins/lisa/hooks/block-direct-issue-create.sh +6 -2
- package/plugins/lisa/skills/lisa-setup-workstation/scripts/catalogue.mjs +29 -0
- package/plugins/lisa/skills/lisa-track/SKILL.md +18 -7
- package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +6 -2
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-setup-workstation/scripts/catalogue.mjs +29 -0
- package/plugins/lisa-agy/skills/lisa-track/SKILL.md +18 -7
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +6 -2
- package/plugins/lisa-copilot/skills/lisa-setup-workstation/scripts/catalogue.mjs +29 -0
- package/plugins/lisa-copilot/skills/lisa-track/SKILL.md +18 -7
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +6 -2
- package/plugins/lisa-cursor/skills/lisa-setup-workstation/scripts/catalogue.mjs +29 -0
- package/plugins/lisa-cursor/skills/lisa-track/SKILL.md +18 -7
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/hooks/block-direct-issue-create.sh +6 -2
- package/plugins/src/base/skills/lisa-setup-workstation/scripts/catalogue.mjs +29 -0
- package/plugins/src/base/skills/lisa-track/SKILL.md +18 -7
|
@@ -272,8 +272,12 @@ FILE IT THE SANCTIONED WAY — one of these two, always explicit:
|
|
|
272
272
|
bar — reproduction, observed-versus-expected, Gherkin acceptance criteria.
|
|
273
273
|
|
|
274
274
|
2. A human product call is genuinely pending. Route the same way but pass
|
|
275
|
-
\`human_gate: "<why a human must judge this first>"
|
|
276
|
-
|
|
275
|
+
\`human_gate: "<why a human must judge this first>"\` in place of
|
|
276
|
+
\`build_ready: true\` — the two are mutually exclusive. The leaf is filed
|
|
277
|
+
into the default backlog role, outside the lane build-intake claims from,
|
|
278
|
+
and is deliberately NOT claimed, so it keeps attracting the human attention
|
|
279
|
+
it was filed for. The hold is stamped so it is auditable rather than
|
|
280
|
+
indistinguishable from an accident:
|
|
277
281
|
|
|
278
282
|
Held for a human product call: <reason>.
|
|
279
283
|
<!-- [lisa-human-gate] reason=<short-slug> -->
|
|
@@ -246,6 +246,18 @@ export declare function scratchSetupFiles(): readonly string[];
|
|
|
246
246
|
* @returns Absolute paths to spread into `test.globalSetup`.
|
|
247
247
|
*/
|
|
248
248
|
export declare function scratchGlobalSetup(): readonly string[];
|
|
249
|
+
/**
|
|
250
|
+
* Global setup that refuses a coverage run measuring an empty file set.
|
|
251
|
+
*
|
|
252
|
+
* Every stack factory spreads this beside {@link scratchGlobalSetup}, because
|
|
253
|
+
* every stack factory declares a `coverage.include` written for the layout that
|
|
254
|
+
* stack normally has. Applied to a project laid out differently the globs match
|
|
255
|
+
* nothing and the gate reports a number it never measured
|
|
256
|
+
* (CodySwannGT/lisa#3468).
|
|
257
|
+
* @returns Absolute paths to spread into `test.globalSetup`.
|
|
258
|
+
* @see {@link module:configs/vitest/coverage-include-authority} for the measurements behind this
|
|
259
|
+
*/
|
|
260
|
+
export declare function coverageGlobalSetup(): readonly string[];
|
|
249
261
|
/**
|
|
250
262
|
* Maps portable threshold format (with `global` wrapper) to Vitest's
|
|
251
263
|
* flat threshold format. Projects store thresholds in the portable
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/base.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAMpD,8DAA8D;AAC9D,KAAK,UAAU,GAAG,cAAc,CAAC;AAEjC;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,M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IAAI,CAAC;AAenC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,GAAE;IACJ,YAAY,CAAC,EAAE,MAAM,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,SAAS,MAAM,EAAE,CAAC;IAC7C,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;CACV,GACL,MAAM,CAoBR;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,wBAAgB,iBAAiB,CAC/B,WAAW,GAAE,MAAM,CAAC,UAAgB,EACpC,KAAK,GAAE,MAA+B,EACtC,QAAQ,GAAE,MAAM,MAAiC,GAChD,MAAM,GAAG,MAAM,CAUjB;AAoBD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,IAAI,SAAS,MAAM,EAAE,CAKrD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,SAAS,MAAM,EAAE,CAEtD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,IAAI,SAAS,MAAM,EAAE,CAEvD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GACxB,YAAY,kBAAkB,KAC7B,gBAaD,CAAC;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe,GAC1B,UAAU,kBAAkB,EAC5B,WAAW,kBAAkB,KAC5B,kBAiBF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAAI,GAAG,SAAS,UAAU,EAAE,KAAG,UA4C7D,CAAC"}
|
|
@@ -308,7 +308,7 @@ export function resolveMaxWorkers(environment = env, cores = availableParallelis
|
|
|
308
308
|
* @param basename - Sibling module name without extension
|
|
309
309
|
* @returns Absolute path to the module.
|
|
310
310
|
*/
|
|
311
|
-
const
|
|
311
|
+
const resolveSiblingModule = (basename) => {
|
|
312
312
|
const built = fileURLToPath(new URL(`./${basename}.js`, import.meta.url));
|
|
313
313
|
return existsSync(built)
|
|
314
314
|
? built
|
|
@@ -326,8 +326,8 @@ const resolveScratchModule = (basename) => {
|
|
|
326
326
|
*/
|
|
327
327
|
export function scratchSetupFiles() {
|
|
328
328
|
return [
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
resolveSiblingModule("scratch-setup"),
|
|
330
|
+
resolveSiblingModule("scratch-leak-setup"),
|
|
331
331
|
];
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
@@ -335,7 +335,21 @@ export function scratchSetupFiles() {
|
|
|
335
335
|
* @returns Absolute paths to spread into `test.globalSetup`.
|
|
336
336
|
*/
|
|
337
337
|
export function scratchGlobalSetup() {
|
|
338
|
-
return [
|
|
338
|
+
return [resolveSiblingModule("scratch-global-setup")];
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* Global setup that refuses a coverage run measuring an empty file set.
|
|
342
|
+
*
|
|
343
|
+
* Every stack factory spreads this beside {@link scratchGlobalSetup}, because
|
|
344
|
+
* every stack factory declares a `coverage.include` written for the layout that
|
|
345
|
+
* stack normally has. Applied to a project laid out differently the globs match
|
|
346
|
+
* nothing and the gate reports a number it never measured
|
|
347
|
+
* (CodySwannGT/lisa#3468).
|
|
348
|
+
* @returns Absolute paths to spread into `test.globalSetup`.
|
|
349
|
+
* @see {@link module:configs/vitest/coverage-include-authority} for the measurements behind this
|
|
350
|
+
*/
|
|
351
|
+
export function coverageGlobalSetup() {
|
|
352
|
+
return [resolveSiblingModule("coverage-include-global-setup")];
|
|
339
353
|
}
|
|
340
354
|
/**
|
|
341
355
|
* Maps portable threshold format (with `global` wrapper) to Vitest's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/configs/vitest/base.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;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pB,MAAM,MAAM,GACV,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;YAC1C,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;YACpC,CAAC,CAAC,OAAO,MAAM,KAAK,QAAQ;gBACxB,MAAM,KAAK,IAAI;gBACf,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;gBACtB,OAAO,IAAI,KAAK,QAAQ;gBACxB,IAAI,KAAK,IAAI;gBACb,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;gBACtB,CAAC,CAAC;oBACE,GAAI,MAAkC;oBACtC,GAAI,IAAgC;iBACrC;gBACH,CAAC,CAAC,IAAI,CAAC;QAEb,OAAO,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,CAAC,EACD,EAAE,GAAG,CAAC,EAAE,CACT,CAAC;IAEJ,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACpC,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAA4B,CAAC;QAC5D,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAA4B,CAAC;QAElE,OAAO;YACL,GAAG,GAAG;YACN,GAAG,MAAM;YACT,IAAI,EAAE,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC;SACxC,CAAC;IACJ,CAAC,EAAE,EAAgB,CAAC,CAAC;AACvB,CAAC,CAAC"}
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import type { ViteUserConfig } from "vitest/config";
|
|
14
14
|
/** Vite UserConfig augmented with Vitest's `test` property */
|
|
15
15
|
type UserConfig = ViteUserConfig;
|
|
16
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
16
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
17
17
|
import type { PortableThresholds } from "./base.js";
|
|
18
18
|
/** Prefix used by AWS CDK's default CloudAssemblyBuilder output directory. */
|
|
19
19
|
export declare const CDK_SCRATCH_PREFIX = "cdk.out";
|
|
20
20
|
/** Opaque owner label recorded before a CDK suite is collected. */
|
|
21
21
|
export declare const CDK_SCRATCH_SUITE = "cdk";
|
|
22
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
22
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
23
23
|
export type { PortableThresholds };
|
|
24
24
|
/**
|
|
25
25
|
* Options for configuring the CDK Vitest config factory.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/cdk.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,8DAA8D;AAC9D,KAAK,UAAU,GAAG,cAAc,CAAC;AAEjC,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC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AE,kBAAkB,EAAE,CAAC;AAEnC;;GAEG;AACH,UAAU,gBAAgB;IACxB,mFAAmF;IACnF,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,GAAI,kBAEhC,gBAAqB,KAAG,UA4BzB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
1
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
2
2
|
/** Prefix used by AWS CDK's default CloudAssemblyBuilder output directory. */
|
|
3
3
|
export const CDK_SCRATCH_PREFIX = "cdk.out";
|
|
4
4
|
/** Opaque owner label recorded before a CDK suite is collected. */
|
|
5
5
|
export const CDK_SCRATCH_SUITE = "cdk";
|
|
6
6
|
// Re-export base utilities for entry-point configs
|
|
7
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
7
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
8
8
|
/**
|
|
9
9
|
* Creates a Vitest configuration for AWS CDK projects.
|
|
10
10
|
*
|
|
@@ -19,7 +19,7 @@ export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, ma
|
|
|
19
19
|
export const getCdkVitestConfig = ({ thresholds, } = {}) => ({
|
|
20
20
|
test: {
|
|
21
21
|
setupFiles: [...scratchSetupFiles()],
|
|
22
|
-
globalSetup: [...scratchGlobalSetup()],
|
|
22
|
+
globalSetup: [...scratchGlobalSetup(), ...coverageGlobalSetup()],
|
|
23
23
|
sequence: { setupFiles: "list", hooks: "stack" },
|
|
24
24
|
// Bounded so k concurrent runs do not claim k x cores. See resolveMaxWorkers.
|
|
25
25
|
maxWorkers: resolveMaxWorkers(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.js","sourceRoot":"","sources":["../../../src/configs/vitest/cdk.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAInB,8EAA8E;AAC9E,MAAM,CAAC,MAAM,kBAAkB,GAAG,SAAS,CAAC;AAE5C,mEAAmE;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEvC,mDAAmD;AACnD,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAYF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,MACU,EAAE,EAAc,EAAE,CAAC,CAAC;IACxC,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC;QACpC,WAAW,EAAE,CAAC,GAAG,kBAAkB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"cdk.js","sourceRoot":"","sources":["../../../src/configs/vitest/cdk.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kB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0 +1,41 @@
|
|
|
1
|
+
/** One include pattern and how many files it matched. */
|
|
2
|
+
export interface CoverageIncludeMatch {
|
|
3
|
+
/** The glob exactly as the config declared it. */
|
|
4
|
+
readonly pattern: string;
|
|
5
|
+
/** Number of files the pattern resolved to under the project root. */
|
|
6
|
+
readonly matches: number;
|
|
7
|
+
}
|
|
8
|
+
/** The parts of a resolved vitest config this module needs. */
|
|
9
|
+
export interface CoverageIncludeQuery {
|
|
10
|
+
/** Whether coverage is being collected on this run. */
|
|
11
|
+
readonly enabled: boolean;
|
|
12
|
+
/** `coverage.include` as the resolved config carries it. */
|
|
13
|
+
readonly include?: readonly string[] | undefined;
|
|
14
|
+
/** Directory the patterns resolve against. */
|
|
15
|
+
readonly root: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Resolve each include pattern against the project root.
|
|
19
|
+
*
|
|
20
|
+
* A pattern that cannot be resolved at all counts as zero rather than throwing.
|
|
21
|
+
* An unreadable root is itself a reason the population is empty, and reporting
|
|
22
|
+
* it as "matched nothing" routes it to the same refusal instead of replacing a
|
|
23
|
+
* clear message with a stack trace.
|
|
24
|
+
* @param include - Include globs from the coverage config
|
|
25
|
+
* @param root - Directory the globs resolve against
|
|
26
|
+
* @returns One entry per pattern, in declaration order
|
|
27
|
+
*/
|
|
28
|
+
export declare function resolveCoverageInclude(include: readonly string[], root: string): readonly CoverageIncludeMatch[];
|
|
29
|
+
/**
|
|
30
|
+
* The refusal text, or undefined when the run may proceed.
|
|
31
|
+
*
|
|
32
|
+
* Undefined in three cases, each for its own reason: coverage is not being
|
|
33
|
+
* collected, so there is no measurement to protect; the config names no
|
|
34
|
+
* include, so vitest's own defaults decide the population and this module has
|
|
35
|
+
* no assumption to check; or at least one pattern resolved, so the population
|
|
36
|
+
* is real.
|
|
37
|
+
* @param query - The coverage-relevant slice of the resolved config
|
|
38
|
+
* @returns The refusal message, or undefined when nothing is wrong
|
|
39
|
+
*/
|
|
40
|
+
export declare function describeCoverageIncludeFailure(query: CoverageIncludeQuery): string | undefined;
|
|
41
|
+
//# sourceMappingURL=coverage-include-authority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coverage-include-authority.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/coverage-include-authority.ts"],"names":[],"mappings":"AAqDA,yDAAyD;AACzD,MAAM,WAAW,oBAAoB;IACnC,kDAAkD;IAClD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,sEAAsE;IACtE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,+DAA+D;AAC/D,MAAM,WAAW,oBAAoB;IACnC,uDAAuD;IACvD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,4DAA4D;IAC5D,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACjD,8CAA8C;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,IAAI,EAAE,MAAM,GACX,SAAS,oBAAoB,EAAE,CAQjC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,oBAAoB,GAC1B,MAAM,GAAG,SAAS,CAwBpB"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vitest Configuration - Coverage include resolution (authority)
|
|
3
|
+
*
|
|
4
|
+
* Decides whether a run's `coverage.include` actually names any source files,
|
|
5
|
+
* because a coverage gate measuring an empty file set reports a number it never
|
|
6
|
+
* measured.
|
|
7
|
+
*
|
|
8
|
+
* THE DEFECT THIS EXISTS FOR (CodySwannGT/lisa#3468). A stack preset's
|
|
9
|
+
* `coverage.include` is written for the layout that stack normally has. Applied
|
|
10
|
+
* to a project laid out differently the globs match nothing, coverage is
|
|
11
|
+
* computed over zero files, and the totals become `0/0`.
|
|
12
|
+
*
|
|
13
|
+
* `0/0` is not a percentage, and vitest says so — the json-summary reporter
|
|
14
|
+
* serializes `"pct":"Unknown"`, a STRING. Every consumer then coerces that
|
|
15
|
+
* non-answer its own way, which is why one defect produced two opposite field
|
|
16
|
+
* reports:
|
|
17
|
+
*
|
|
18
|
+
* - vitest's own threshold check SKIPS `0/0` entirely, so the gate exits 0.
|
|
19
|
+
* Measured on vitest 4.1.9: two fixtures with identical thresholds of 80 and
|
|
20
|
+
* an identical passing suite, differing only in whether the include glob
|
|
21
|
+
* resolved — the unresolved one exited 0 with thresholds never evaluated,
|
|
22
|
+
* the resolved one at 50% exited 1 naming all three shortfalls.
|
|
23
|
+
* - a reader doing `pct || 0` renders it `0%`, which reads as an urgent
|
|
24
|
+
* coverage collapse rather than a broken configuration. That is how the
|
|
25
|
+
* defect was originally reported.
|
|
26
|
+
*
|
|
27
|
+
* Both are the same non-answer wearing different clothes, and the more
|
|
28
|
+
* dangerous of the two is the silent pass.
|
|
29
|
+
*
|
|
30
|
+
* WHY CONFIG TIME, AND NOT A CHECK ON THE REPORT. Downstream, an unresolved
|
|
31
|
+
* include and genuinely uncovered code are indistinguishable in the NUMBER —
|
|
32
|
+
* both read 0. They differ only in the denominator, `0/0` against `n/m`, which
|
|
33
|
+
* survives into the JSON summary but appears in neither the text table nor the
|
|
34
|
+
* threshold verdict. The threshold verdict is the one output the gate consumes.
|
|
35
|
+
* So a report-side check would have to be repeated by every consumer, on a
|
|
36
|
+
* field the primary consumer already ignores. Resolving the globs once, before
|
|
37
|
+
* the run, is the only place the difference is unambiguous.
|
|
38
|
+
*
|
|
39
|
+
* WHAT IT DOES NOT DO. A partial miss is not a failure. Patterns are checked as
|
|
40
|
+
* a UNION: if any one of them matches a file, coverage has a real population
|
|
41
|
+
* and the gate is meaningful, so a preset naming `lib/**` and `util/**` still
|
|
42
|
+
* passes in a project that has only `lib/`. Failing there would break correctly
|
|
43
|
+
* configured consumers to catch nothing. The per-pattern counts are reported
|
|
44
|
+
* inside the failure message, where they say which half was wrong.
|
|
45
|
+
*
|
|
46
|
+
* Exclusions are deliberately not applied. The question asked here is the one
|
|
47
|
+
* the acceptance criteria ask — do the include patterns resolve — and answering
|
|
48
|
+
* a wider question would make the message name patterns that did resolve.
|
|
49
|
+
* @see {@link module:configs/vitest/coverage-include-global-setup} for the hook that acts on this
|
|
50
|
+
* @module configs/vitest/coverage-include-authority
|
|
51
|
+
*/
|
|
52
|
+
import { globSync } from "node:fs";
|
|
53
|
+
/**
|
|
54
|
+
* Resolve each include pattern against the project root.
|
|
55
|
+
*
|
|
56
|
+
* A pattern that cannot be resolved at all counts as zero rather than throwing.
|
|
57
|
+
* An unreadable root is itself a reason the population is empty, and reporting
|
|
58
|
+
* it as "matched nothing" routes it to the same refusal instead of replacing a
|
|
59
|
+
* clear message with a stack trace.
|
|
60
|
+
* @param include - Include globs from the coverage config
|
|
61
|
+
* @param root - Directory the globs resolve against
|
|
62
|
+
* @returns One entry per pattern, in declaration order
|
|
63
|
+
*/
|
|
64
|
+
export function resolveCoverageInclude(include, root) {
|
|
65
|
+
return include.map(pattern => {
|
|
66
|
+
try {
|
|
67
|
+
return { pattern, matches: globSync(pattern, { cwd: root }).length };
|
|
68
|
+
}
|
|
69
|
+
catch {
|
|
70
|
+
return { pattern, matches: 0 };
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* The refusal text, or undefined when the run may proceed.
|
|
76
|
+
*
|
|
77
|
+
* Undefined in three cases, each for its own reason: coverage is not being
|
|
78
|
+
* collected, so there is no measurement to protect; the config names no
|
|
79
|
+
* include, so vitest's own defaults decide the population and this module has
|
|
80
|
+
* no assumption to check; or at least one pattern resolved, so the population
|
|
81
|
+
* is real.
|
|
82
|
+
* @param query - The coverage-relevant slice of the resolved config
|
|
83
|
+
* @returns The refusal message, or undefined when nothing is wrong
|
|
84
|
+
*/
|
|
85
|
+
export function describeCoverageIncludeFailure(query) {
|
|
86
|
+
if (!query.enabled)
|
|
87
|
+
return undefined;
|
|
88
|
+
const include = query.include ?? [];
|
|
89
|
+
if (include.length === 0)
|
|
90
|
+
return undefined;
|
|
91
|
+
const resolved = resolveCoverageInclude(include, query.root);
|
|
92
|
+
if (resolved.some(entry => entry.matches > 0))
|
|
93
|
+
return undefined;
|
|
94
|
+
const width = Math.max(...resolved.map(entry => entry.pattern.length));
|
|
95
|
+
const listing = resolved
|
|
96
|
+
.map(entry => ` ${entry.pattern.padEnd(width)} ${entry.matches} files`)
|
|
97
|
+
.join("\n");
|
|
98
|
+
return (`coverage.include matched no files under ${query.root}, so coverage ` +
|
|
99
|
+
`would be computed over an empty file set. Every pattern, and what it ` +
|
|
100
|
+
`matched:\n${listing}\n` +
|
|
101
|
+
`An empty include is always a configuration error and never a legitimate ` +
|
|
102
|
+
`state. With 0/0 files the totals are not a percentage — vitest reports ` +
|
|
103
|
+
`"Unknown%" and SKIPS the thresholds, so the coverage gate passes having ` +
|
|
104
|
+
`measured nothing, while any reader that coerces "Unknown" renders it as ` +
|
|
105
|
+
`0% and reads as an urgent coverage collapse. Same non-answer either way.\n` +
|
|
106
|
+
`Point coverage.include at this project's source layout, then run again.`);
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=coverage-include-authority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coverage-include-authority.js","sourceRoot":"","sources":["../../../src/configs/vitest/coverage-include-authority.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAoBnC;;;;;;;;;;GAUG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAA0B,EAC1B,IAAY;IAEZ,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;QAC3B,IAAI,CAAC;YACH,OAAO,EAAE,OAAO,E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E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shape vitest hands `globalSetup`, narrowed to what this guard reads.
|
|
3
|
+
*
|
|
4
|
+
* Declared structurally rather than imported from vitest's own types: this
|
|
5
|
+
* module is compiled into the published package and loaded by consumer
|
|
6
|
+
* projects, whose vitest may be a different minor than the one Lisa builds
|
|
7
|
+
* against. Reading four fields off a plain object survives that; a nominal type
|
|
8
|
+
* import does not.
|
|
9
|
+
*/
|
|
10
|
+
export interface CoverageProject {
|
|
11
|
+
readonly config?: {
|
|
12
|
+
readonly coverage?: {
|
|
13
|
+
readonly enabled?: boolean | undefined;
|
|
14
|
+
readonly include?: readonly string[] | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
readonly root?: string | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Refuses the run when coverage would be measured over an empty file set.
|
|
21
|
+
*
|
|
22
|
+
* Degrades to allowing the run when vitest hands over something this guard
|
|
23
|
+
* cannot read — no config, or no root. An unrecognised argument shape means the
|
|
24
|
+
* guard does not know what it is looking at, and refusing on that would block
|
|
25
|
+
* every run on a vitest whose internals moved, which is a worse failure than
|
|
26
|
+
* the one being prevented. The refusal is reserved for the case it can actually
|
|
27
|
+
* prove.
|
|
28
|
+
* @param project - The test project vitest passes to `globalSetup`
|
|
29
|
+
* @throws {Error} When coverage is enabled and no include pattern resolves.
|
|
30
|
+
*/
|
|
31
|
+
export declare const setup: (project?: CoverageProject) => void;
|
|
32
|
+
//# sourceMappingURL=coverage-include-global-setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coverage-include-global-setup.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/coverage-include-global-setup.ts"],"names":[],"mappings":"AAiCA;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,MAAM,CAAC,EACZ;QACE,QAAQ,CAAC,QAAQ,CAAC,EACd;YACE,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;YACvC,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;SAClD,GACD,SAAS,CAAC;QACd,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACpC,GACD,SAAS,CAAC;CACf;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,KAAK,GAAI,UAAU,eAAe,KAAG,IAiBjD,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vitest Configuration - Coverage include guard (global setup)
|
|
3
|
+
*
|
|
4
|
+
* Refuses a coverage run whose `coverage.include` resolves to no files. The
|
|
5
|
+
* reasoning for the check, and the measurements behind it, live in
|
|
6
|
+
* {@link module:configs/vitest/coverage-include-authority}; this module is only
|
|
7
|
+
* the hook that acts on the verdict.
|
|
8
|
+
*
|
|
9
|
+
* IT LIVES IN `setup`, NOT `teardown`, and that placement is load-bearing for
|
|
10
|
+
* the same measured reason the scratch guard records: vitest SWALLOWS a throw
|
|
11
|
+
* from `globalSetup` teardown — it prints `error during close` and the process
|
|
12
|
+
* still exits 0 — while the same throw from `setup` exits 1. A guard placed in
|
|
13
|
+
* a hook the runner ignores is the very defect this file exists to stop,
|
|
14
|
+
* reproduced inside the guard.
|
|
15
|
+
*
|
|
16
|
+
* IT ONLY BITES WHEN COVERAGE IS ON. `coverage.enabled` is false on a plain
|
|
17
|
+
* `vitest run` and true under `--coverage` — measured on vitest 4.1.9 rather
|
|
18
|
+
* than assumed — so a project whose layout does not match its preset can still
|
|
19
|
+
* run its tests. Only the measurement it cannot honestly make is refused. That
|
|
20
|
+
* boundary is deliberate: the claim being protected is "coverage met the
|
|
21
|
+
* threshold", and nothing else here is a claim about coverage.
|
|
22
|
+
*
|
|
23
|
+
* It reuses the scratch guard's two-part announcement rather than growing its
|
|
24
|
+
* own. A refusal speaks twice, a banner before collection and a summary line at
|
|
25
|
+
* exit, because those are the top and the bottom of a transcript nobody reads
|
|
26
|
+
* in full — and the summary line already says the exact thing that is true
|
|
27
|
+
* here: the run was refused before collection, so no coverage was measured.
|
|
28
|
+
* @see {@link module:configs/vitest/coverage-include-authority} for why config time is the only honest place
|
|
29
|
+
* @module configs/vitest/coverage-include-global-setup
|
|
30
|
+
*/
|
|
31
|
+
import { describeCoverageIncludeFailure } from "./coverage-include-authority.js";
|
|
32
|
+
import { announceRefusal } from "./scratch-global-setup.js";
|
|
33
|
+
/**
|
|
34
|
+
* Refuses the run when coverage would be measured over an empty file set.
|
|
35
|
+
*
|
|
36
|
+
* Degrades to allowing the run when vitest hands over something this guard
|
|
37
|
+
* cannot read — no config, or no root. An unrecognised argument shape means the
|
|
38
|
+
* guard does not know what it is looking at, and refusing on that would block
|
|
39
|
+
* every run on a vitest whose internals moved, which is a worse failure than
|
|
40
|
+
* the one being prevented. The refusal is reserved for the case it can actually
|
|
41
|
+
* prove.
|
|
42
|
+
* @param project - The test project vitest passes to `globalSetup`
|
|
43
|
+
* @throws {Error} When coverage is enabled and no include pattern resolves.
|
|
44
|
+
*/
|
|
45
|
+
export const setup = (project) => {
|
|
46
|
+
const config = project?.config;
|
|
47
|
+
const root = config?.root;
|
|
48
|
+
if (config === undefined || root === undefined)
|
|
49
|
+
return;
|
|
50
|
+
const failure = describeCoverageIncludeFailure({
|
|
51
|
+
enabled: config.coverage?.enabled === true,
|
|
52
|
+
include: config.coverage?.include,
|
|
53
|
+
root,
|
|
54
|
+
});
|
|
55
|
+
if (failure !== undefined) {
|
|
56
|
+
// Both halves of the announcement happen before the throw, because the
|
|
57
|
+
// throw is what ends this function.
|
|
58
|
+
announceRefusal(failure);
|
|
59
|
+
throw new Error(failure);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=coverage-include-global-setup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coverage-include-global-setup.js","sourceRoot":"","sources":["../../../src/configs/vitest/coverage-include-global-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAyB5D;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,OAAyB,EAAQ,EAAE;IACvD,MAAM,MAAM,GAAG,OAAO,EAAE,MAAM,CAAC;IAC/B,MAAM,IAAI,GAAG,MAAM,EAAE,IAAI,CAAC;IAC1B,IAAI,MAAM,KAAK,SAAS,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO;IAEvD,MAAM,OAAO,GAAG,8BAA8B,CAAC;QAC7C,OAAO,EAAE,MAAM,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI;QAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,EAAE,OAAO;QACjC,IAAI;KACL,CAAC,CAAC;IAEH,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,uEAAuE;QACvE,oCAAoC;QACpC,eAAe,CAAC,OAAO,CAAC,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* @module configs/vitest/harper-fabric
|
|
6
6
|
*/
|
|
7
7
|
import type { ViteUserConfig } from "vitest/config";
|
|
8
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
8
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
9
9
|
import type { PortableThresholds } from "./base.js";
|
|
10
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
10
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
11
11
|
export type { PortableThresholds };
|
|
12
12
|
/**
|
|
13
13
|
* Options for configuring the Harper/Fabric Vitest config factory.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harper-fabric.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/harper-fabric.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC;;GAEG;AACH,UAAU,yBAAyB;IACjC,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAED;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,GAAI,kBAEzC,yBAA8B,KAAG,cA2BlC,CAAC"}
|
|
1
|
+
{"version":3,"file":"harper-fabric.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/harper-fabric.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC;;GAEG;AACH,UAAU,yBAAyB;IACjC,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAED;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,GAAI,kBAEzC,yBAA8B,KAAG,cA2BlC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
2
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
1
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
2
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
3
3
|
/**
|
|
4
4
|
* Creates a Vitest configuration for Harper/Fabric projects.
|
|
5
5
|
* @param options - Configuration options
|
|
@@ -9,7 +9,7 @@ export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, ma
|
|
|
9
9
|
export const getHarperFabricVitestConfig = ({ thresholds, } = {}) => ({
|
|
10
10
|
test: {
|
|
11
11
|
setupFiles: [...scratchSetupFiles()],
|
|
12
|
-
globalSetup: [...scratchGlobalSetup()],
|
|
12
|
+
globalSetup: [...scratchGlobalSetup(), ...coverageGlobalSetup()],
|
|
13
13
|
sequence: { setupFiles: "list", hooks: "stack" },
|
|
14
14
|
// Bounded so k concurrent runs do not claim k x cores. See resolveMaxWorkers.
|
|
15
15
|
maxWorkers: resolveMaxWorkers(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harper-fabric.js","sourceRoot":"","sources":["../../../src/configs/vitest/harper-fabric.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAYF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,EAC1C,UAAU,MACmB,EAAE,EAAkB,EAAE,CAAC,CAAC;IACrD,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC;QACpC,WAAW,EAAE,CAAC,GAAG,kBAAkB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"harper-fabric.js","sourceRoot":"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
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
import type { ViteUserConfig } from "vitest/config";
|
|
14
14
|
/** Vite UserConfig augmented with Vitest's `test` property */
|
|
15
15
|
type UserConfig = ViteUserConfig;
|
|
16
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions } from "./base.js";
|
|
16
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions } from "./base.js";
|
|
17
17
|
import type { PortableThresholds } from "./base.js";
|
|
18
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, };
|
|
18
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, };
|
|
19
19
|
export type { PortableThresholds };
|
|
20
20
|
/**
|
|
21
21
|
* Options for configuring the NestJS Vitest config factory.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nestjs.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/nestjs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,8DAA8D;AAC9D,KAAK,UAAU,GAAG,cAAc,CAAC;AAEjC,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,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AAE,kBAAkB,CAAC;CAC1C;AAwBD;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,GAAI,kBAEnC,mBAAwB,KAAG,UAoB5B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, } from "./base.js";
|
|
1
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, } from "./base.js";
|
|
2
2
|
// Re-export base utilities for entry-point configs
|
|
3
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, };
|
|
3
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, };
|
|
4
4
|
/**
|
|
5
5
|
* NestJS-specific patterns excluded from coverage collection.
|
|
6
6
|
* These are generated or boilerplate files that don't benefit from coverage tracking.
|
|
@@ -35,7 +35,7 @@ const nestjsCoverageExclusions = [
|
|
|
35
35
|
export const getNestjsVitestConfig = ({ thresholds = defaultThresholds, } = {}) => ({
|
|
36
36
|
test: {
|
|
37
37
|
setupFiles: [...scratchSetupFiles()],
|
|
38
|
-
globalSetup: [...scratchGlobalSetup()],
|
|
38
|
+
globalSetup: [...scratchGlobalSetup(), ...coverageGlobalSetup()],
|
|
39
39
|
sequence: { setupFiles: "list", hooks: "stack" },
|
|
40
40
|
// Bounded so k concurrent runs do not claim k x cores. See resolveMaxWorkers.
|
|
41
41
|
maxWorkers: resolveMaxWorkers(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nestjs.js","sourceRoot":"","sources":["../../../src/configs/vitest/nestjs.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AAInB,mDAAmD;AACnD,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GACnB,CAAC;AAYF;;;GAGG;AACH,MAAM,wBAAwB,GAAsB;IAClD,GAAG,yBAAyB;IAC5B,gBAAgB;IAChB,aAAa;IACb,eAAe;IACf,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,mBAAmB;IACnB,mBAAmB;IACnB,2BAA2B;IAC3B,sBAAsB;IACtB,eAAe;IACf,YAAY;CACb,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,UAAU,GAAG,iBAAiB,MACP,EAAE,EAAc,EAAE,CAAC,CAAC;IAC3C,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC;QACpC,WAAW,EAAE,CAAC,GAAG,kBAAkB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"nestjs.js","sourceRoot":"","sources":["../../../src/configs/vitest/nestjs.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,WAAW,CAAC;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ACtC;KACF;CACF,CAAC,CAAC"}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* @module configs/vitest/phaser
|
|
9
9
|
*/
|
|
10
10
|
import type { ViteUserConfig } from "vitest/config";
|
|
11
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
11
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
12
12
|
import type { PortableThresholds } from "./base.js";
|
|
13
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
13
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
14
14
|
export type { PortableThresholds };
|
|
15
15
|
/**
|
|
16
16
|
* Options for configuring the Phaser Vitest config factory.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phaser.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/phaser.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC;;GAEG;AACH,UAAU,mBAAmB;IAC3B,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAAI,kBAEnC,mBAAwB,KAAG,cA8B5B,CAAC"}
|
|
1
|
+
{"version":3,"file":"phaser.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/phaser.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC;;GAEG;AACH,UAAU,mBAAmB;IAC3B,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAAI,kBAEnC,mBAAwB,KAAG,cA8B5B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
2
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
1
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
2
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
3
3
|
/**
|
|
4
4
|
* Creates a Vitest configuration for Phaser projects.
|
|
5
5
|
* @param options - Configuration options
|
|
@@ -9,7 +9,7 @@ export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, ma
|
|
|
9
9
|
export const getPhaserVitestConfig = ({ thresholds, } = {}) => ({
|
|
10
10
|
test: {
|
|
11
11
|
setupFiles: [...scratchSetupFiles()],
|
|
12
|
-
globalSetup: [...scratchGlobalSetup()],
|
|
12
|
+
globalSetup: [...scratchGlobalSetup(), ...coverageGlobalSetup()],
|
|
13
13
|
sequence: { setupFiles: "list", hooks: "stack" },
|
|
14
14
|
// Bounded so k concurrent runs do not claim k x cores. See resolveMaxWorkers.
|
|
15
15
|
maxWorkers: resolveMaxWorkers(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phaser.js","sourceRoot":"","sources":["../../../src/configs/vitest/phaser.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAYF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,UAAU,MACa,EAAE,EAAkB,EAAE,CAAC,CAAC;IAC/C,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC;QACpC,WAAW,EAAE,CAAC,GAAG,kBAAkB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"phaser.js","sourceRoot":"","sources":["../../../src/configs/vitest/phaser.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAYF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,UAAU,MACa,EAAE,EAAkB,EAAE,CAAC,CAAC;IAC/C,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC;QACpC,WAAW,EAAE,CAAC,GAAG,kBAAkB,EAAE,EAAE,GAAG,mBAAmB,EAAE,CAAC;QAChE,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE;QAChD,8EAA8E;QAC9E,UAAU,EAAE,iBAAiB,EAAE;QAC/B,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,MAAM;QACnB,OAAO,EAAE,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;QACnD,OAAO,EAAE,CAAC,GAAG,qBAAqB,EAAE,cAAc,CAAC;QACnD,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE;YACR,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,OAAO,EAAE;gBACP,GAAG,yBAAyB;gBAC5B,cAAc;gBACd,aAAa;gBACb,eAAe;gBACf,iBAAiB;gBACjB,mBAAmB;aACpB;YACD,UAAU,EAAE,aAAa,CACvB,UAAU;gBACR,CAAC,CAAC,eAAe,CAAC,iBAAiB,EAAE,UAAU,CAAC;gBAChD,CAAC,CAAC,iBAAiB,CACtB;SACF;KACF;CACF,CAAC,CAAC"}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
import type { ViteUserConfig } from "vitest/config";
|
|
10
10
|
/** Vite UserConfig augmented with Vitest's `test` property */
|
|
11
11
|
type UserConfig = ViteUserConfig;
|
|
12
|
-
import { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions } from "./base.js";
|
|
12
|
+
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions } from "./base.js";
|
|
13
13
|
import type { PortableThresholds } from "./base.js";
|
|
14
|
-
export { defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, };
|
|
14
|
+
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, worktreeExclusions, };
|
|
15
15
|
export type { PortableThresholds };
|
|
16
16
|
/**
|
|
17
17
|
* Options for configuring the TypeScript Vitest config factory.
|