@storybook/addon-vitest 0.0.0-pr-33157-sha-ffaa3463 → 0.0.0-pr-33151-sha-9876f852
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/dist/_node-chunks/{chunk-B4GA4NXL.js → chunk-22JSCQJN.js} +6 -6
- package/dist/_node-chunks/{chunk-PI75PCZV.js → chunk-DDTDOXZJ.js} +7 -7
- package/dist/_node-chunks/{chunk-6ROYCBVH.js → chunk-LO2S7N7H.js} +6 -6
- package/dist/_node-chunks/{chunk-KLLYZZ7U.js → chunk-LSQ4HCHX.js} +9 -9
- package/dist/_node-chunks/{chunk-JE53DRFW.js → chunk-Q2NFLAOW.js} +7 -7
- package/dist/_node-chunks/{chunk-43DPHZ3P.js → chunk-Q7KYXKQL.js} +6 -6
- package/dist/_node-chunks/{chunk-KBC4UBHS.js → chunk-R343VQMU.js} +7 -7
- package/dist/_node-chunks/{chunk-QU6NJ7IF.js → chunk-V7V6RR7J.js} +7 -7
- package/dist/_node-chunks/{chunk-JDZHQIJ2.js → chunk-ZKCP6RTB.js} +6 -6
- package/dist/node/coverage-reporter.js +8 -8
- package/dist/node/vitest.js +26 -31
- package/dist/postinstall.js +13 -13
- package/dist/preset.js +13 -13
- package/dist/vitest-plugin/global-setup.js +7 -7
- package/dist/vitest-plugin/index.js +10 -10
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LO2S7N7H.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
ADDON_ID
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZKCP6RTB.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DDTDOXZJ.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LO2S7N7H.js";
|
|
21
21
|
|
|
22
22
|
// src/logger.ts
|
|
23
23
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_t0002fbkg4.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-22JSCQJN.js";
|
|
16
16
|
|
|
17
17
|
// ../../core/src/shared/utils/module.ts
|
|
18
18
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LO2S7N7H.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LO2S7N7H.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_gte
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-V7V6RR7J.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-LO2S7N7H.js";
|
|
20
20
|
|
|
21
21
|
// ../../node_modules/istanbul-lib-report/node_modules/make-dir/index.js
|
|
22
22
|
var require_make_dir = __commonJS({
|
package/dist/node/vitest.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
log
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-LSQ4HCHX.js";
|
|
15
15
|
import {
|
|
16
16
|
any
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-Q7KYXKQL.js";
|
|
18
18
|
import {
|
|
19
19
|
ADDON_ID,
|
|
20
20
|
COVERAGE_DIRECTORY,
|
|
21
21
|
STATUS_TYPE_ID_A11Y,
|
|
22
22
|
STATUS_TYPE_ID_COMPONENT_TEST,
|
|
23
23
|
storeOptions
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-ZKCP6RTB.js";
|
|
25
|
+
import "../_node-chunks/chunk-DDTDOXZJ.js";
|
|
26
26
|
import {
|
|
27
27
|
dirname,
|
|
28
28
|
join,
|
|
29
29
|
normalize,
|
|
30
30
|
path
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
32
|
-
import "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-22JSCQJN.js";
|
|
32
|
+
import "../_node-chunks/chunk-LO2S7N7H.js";
|
|
33
33
|
|
|
34
34
|
// src/node/vitest.ts
|
|
35
35
|
import process2 from "node:process";
|
|
@@ -127,8 +127,8 @@ function slash(path2) {
|
|
|
127
127
|
|
|
128
128
|
// src/node/reporter.ts
|
|
129
129
|
var StorybookReporter = class {
|
|
130
|
-
constructor(
|
|
131
|
-
this.testManager =
|
|
130
|
+
constructor(testManager) {
|
|
131
|
+
this.testManager = testManager;
|
|
132
132
|
}
|
|
133
133
|
onInit(ctx) {
|
|
134
134
|
this.ctx = ctx;
|
|
@@ -166,8 +166,8 @@ var StorybookReporter = class {
|
|
|
166
166
|
var VITEST_CONFIG_FILE_EXTENSIONS = ["mts", "mjs", "cts", "cjs", "ts", "tsx", "js", "jsx"], VITEST_WORKSPACE_FILE_EXTENSION = ["ts", "js", "json"];
|
|
167
167
|
process.env.VITEST_STORYBOOK = "true";
|
|
168
168
|
var DOUBLE_SPACES = " ", getTestName = (name) => `${name}${DOUBLE_SPACES}`, VitestManager = class {
|
|
169
|
-
constructor(
|
|
170
|
-
this.testManager =
|
|
169
|
+
constructor(testManager) {
|
|
170
|
+
this.testManager = testManager;
|
|
171
171
|
this.vitest = null;
|
|
172
172
|
this.vitestStartupCounter = 0;
|
|
173
173
|
this.vitestRestartPromise = null;
|
|
@@ -575,10 +575,10 @@ var testStateToStatusValueMap = {
|
|
|
575
575
|
}
|
|
576
576
|
static async start(options) {
|
|
577
577
|
return new Promise((resolve) => {
|
|
578
|
-
let
|
|
578
|
+
let testManager = new _TestManager({
|
|
579
579
|
...options,
|
|
580
580
|
onReady: () => {
|
|
581
|
-
resolve(
|
|
581
|
+
resolve(testManager), options.onReady?.();
|
|
582
582
|
}
|
|
583
583
|
});
|
|
584
584
|
});
|
|
@@ -598,7 +598,8 @@ var UniversalStore = experimental_UniversalStore, getStatusStore = experimental_
|
|
|
598
598
|
}
|
|
599
599
|
});
|
|
600
600
|
UniversalStore.__prepare(channel, UniversalStore.Environment.SERVER);
|
|
601
|
-
var store = UniversalStore.create(storeOptions)
|
|
601
|
+
var store = UniversalStore.create(storeOptions);
|
|
602
|
+
new TestManager({
|
|
602
603
|
store,
|
|
603
604
|
componentTestStatusStore: getStatusStore(STATUS_TYPE_ID_COMPONENT_TEST),
|
|
604
605
|
a11yStatusStore: getStatusStore(STATUS_TYPE_ID_A11Y),
|
|
@@ -609,10 +610,9 @@ var store = UniversalStore.create(storeOptions), testManager = new TestManager({
|
|
|
609
610
|
storybookOptions: {
|
|
610
611
|
configDir: process2.env.STORYBOOK_CONFIG_DIR || ""
|
|
611
612
|
}
|
|
612
|
-
})
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
process2.exit(code);
|
|
613
|
+
});
|
|
614
|
+
var exit = (code = 0) => {
|
|
615
|
+
channel?.removeAllListeners(), process2.exit(code);
|
|
616
616
|
}, createUnhandledErrorHandler = (message) => async (error) => {
|
|
617
617
|
try {
|
|
618
618
|
let payload = {
|
|
@@ -629,7 +629,7 @@ var store = UniversalStore.create(storeOptions), testManager = new TestManager({
|
|
|
629
629
|
payload
|
|
630
630
|
});
|
|
631
631
|
} finally {
|
|
632
|
-
|
|
632
|
+
exit(1);
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
635
|
process2.on(
|
|
@@ -641,10 +641,5 @@ process2.on(
|
|
|
641
641
|
createUnhandledErrorHandler("Unhandled rejection in the test runner process")
|
|
642
642
|
);
|
|
643
643
|
process2.on("exit", exit);
|
|
644
|
-
process2.on("SIGINT",
|
|
645
|
-
|
|
646
|
-
});
|
|
647
|
-
process2.on("SIGTERM", async () => {
|
|
648
|
-
await shutdown(0), exit(0);
|
|
649
|
-
});
|
|
650
|
-
process2.on("beforeExit", shutdown);
|
|
644
|
+
process2.on("SIGINT", () => exit(0));
|
|
645
|
+
process2.on("SIGTERM", () => exit(0));
|
package/dist/postinstall.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
resolvePackageDir
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-Q2NFLAOW.js";
|
|
15
15
|
import {
|
|
16
16
|
any
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-Q7KYXKQL.js";
|
|
18
18
|
import {
|
|
19
19
|
DOCUMENTATION_LINK
|
|
20
|
-
} from "./_node-chunks/chunk-
|
|
20
|
+
} from "./_node-chunks/chunk-ZKCP6RTB.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./_node-chunks/chunk-
|
|
23
|
+
} from "./_node-chunks/chunk-R343VQMU.js";
|
|
24
24
|
import {
|
|
25
25
|
dirname,
|
|
26
26
|
join,
|
|
27
27
|
relative,
|
|
28
28
|
resolve
|
|
29
|
-
} from "./_node-chunks/chunk-
|
|
29
|
+
} from "./_node-chunks/chunk-22JSCQJN.js";
|
|
30
30
|
import {
|
|
31
31
|
require_compare,
|
|
32
32
|
require_constants,
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
require_parse_options,
|
|
37
37
|
require_re,
|
|
38
38
|
require_semver
|
|
39
|
-
} from "./_node-chunks/chunk-
|
|
39
|
+
} from "./_node-chunks/chunk-V7V6RR7J.js";
|
|
40
40
|
import {
|
|
41
41
|
__commonJS,
|
|
42
42
|
__toESM
|
|
43
|
-
} from "./_node-chunks/chunk-
|
|
43
|
+
} from "./_node-chunks/chunk-LO2S7N7H.js";
|
|
44
44
|
|
|
45
45
|
// ../../node_modules/semver/functions/parse.js
|
|
46
46
|
var require_parse = __commonJS({
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_t0002fbkg4.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
log,
|
|
14
14
|
noop
|
|
15
|
-
} from "./_node-chunks/chunk-
|
|
15
|
+
} from "./_node-chunks/chunk-LSQ4HCHX.js";
|
|
16
16
|
import {
|
|
17
17
|
importMetaResolve
|
|
18
|
-
} from "./_node-chunks/chunk-
|
|
18
|
+
} from "./_node-chunks/chunk-Q2NFLAOW.js";
|
|
19
19
|
import {
|
|
20
20
|
ADDON_ID,
|
|
21
21
|
COVERAGE_DIRECTORY,
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
STORYBOOK_ADDON_TEST_CHANNEL,
|
|
25
25
|
TEST_PROVIDER_STORE_CHANNEL_EVENT_NAME,
|
|
26
26
|
storeOptions
|
|
27
|
-
} from "./_node-chunks/chunk-
|
|
27
|
+
} from "./_node-chunks/chunk-ZKCP6RTB.js";
|
|
28
28
|
import {
|
|
29
29
|
require_picocolors
|
|
30
|
-
} from "./_node-chunks/chunk-
|
|
30
|
+
} from "./_node-chunks/chunk-DDTDOXZJ.js";
|
|
31
31
|
import {
|
|
32
32
|
require_dist
|
|
33
|
-
} from "./_node-chunks/chunk-
|
|
33
|
+
} from "./_node-chunks/chunk-R343VQMU.js";
|
|
34
34
|
import {
|
|
35
35
|
normalize
|
|
36
|
-
} from "./_node-chunks/chunk-
|
|
36
|
+
} from "./_node-chunks/chunk-22JSCQJN.js";
|
|
37
37
|
import {
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./_node-chunks/chunk-
|
|
39
|
+
} from "./_node-chunks/chunk-LO2S7N7H.js";
|
|
40
40
|
|
|
41
41
|
// src/preset.ts
|
|
42
42
|
import { mkdir } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-LO2S7N7H.js";
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/tree-kill/index.js
|
|
19
19
|
var require_tree_kill = __commonJS({
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lnxuv0dh35 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lnxuv0dh35 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lnxuv0dh35 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lnxuv0dh35.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lnxuv0dh35.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lnxuv0dh35.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_picocolors
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-DDTDOXZJ.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-R343VQMU.js";
|
|
18
18
|
import {
|
|
19
19
|
join,
|
|
20
20
|
normalize,
|
|
21
21
|
relative,
|
|
22
22
|
resolve,
|
|
23
23
|
sep
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-22JSCQJN.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__require,
|
|
28
28
|
__toESM
|
|
29
|
-
} from "../_node-chunks/chunk-
|
|
29
|
+
} from "../_node-chunks/chunk-LO2S7N7H.js";
|
|
30
30
|
|
|
31
31
|
// ../../node_modules/braces/lib/utils.js
|
|
32
32
|
var require_utils = __commonJS({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-vitest",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-33151-sha-9876f852",
|
|
4
4
|
"description": "Storybook Vitest addon: Blazing fast component testing using stories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@vitest/browser": "^3.0.0 || ^4.0.0",
|
|
104
104
|
"@vitest/browser-playwright": "^4.0.0",
|
|
105
105
|
"@vitest/runner": "^3.0.0 || ^4.0.0",
|
|
106
|
-
"storybook": "^0.0.0-pr-
|
|
106
|
+
"storybook": "^0.0.0-pr-33151-sha-9876f852",
|
|
107
107
|
"vitest": "^3.0.0 || ^4.0.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependenciesMeta": {
|