@storybook/addon-vitest 10.2.2 → 10.2.4
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-BQ6X3NKY.js → chunk-6NWJHVL7.js} +6 -6
- package/dist/_node-chunks/{chunk-HNMLBYPS.js → chunk-C5VLTJYN.js} +7 -7
- package/dist/_node-chunks/{chunk-ZIGLBSZY.js → chunk-L3B342IY.js} +6 -6
- package/dist/_node-chunks/{chunk-IJ4JGQVL.js → chunk-N7IYBRFV.js} +9 -9
- package/dist/_node-chunks/{chunk-IZHRDJZR.js → chunk-NAHQCLFS.js} +6 -6
- package/dist/_node-chunks/{chunk-OXZZURCZ.js → chunk-P5XLOHYJ.js} +7 -7
- package/dist/_node-chunks/{chunk-EUYA3M6Y.js → chunk-PVNML4TZ.js} +7 -7
- package/dist/_node-chunks/{chunk-ZLVTJPME.js → chunk-TKX7NMBS.js} +7 -7
- package/dist/_node-chunks/{chunk-7SHRG2KK.js → chunk-XD6QYC4W.js} +6 -6
- package/dist/node/coverage-reporter.js +8 -8
- package/dist/node/vitest.js +12 -12
- package/dist/postinstall.js +17 -14
- 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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-L3B342IY.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-6NWJHVL7.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-P5XLOHYJ.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-L3B342IY.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-L3B342IY.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-L3B342IY.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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_43ek6z88o3y.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NAHQCLFS.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-C5VLTJYN.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-L3B342IY.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-N7IYBRFV.js";
|
|
15
15
|
import {
|
|
16
16
|
any
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-XD6QYC4W.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-6NWJHVL7.js";
|
|
25
|
+
import "../_node-chunks/chunk-P5XLOHYJ.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-NAHQCLFS.js";
|
|
32
|
+
import "../_node-chunks/chunk-L3B342IY.js";
|
|
33
33
|
|
|
34
34
|
// src/node/vitest.ts
|
|
35
35
|
import process2 from "node:process";
|
package/dist/postinstall.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-TKX7NMBS.js";
|
|
15
15
|
import {
|
|
16
16
|
any
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-XD6QYC4W.js";
|
|
18
18
|
import {
|
|
19
19
|
DOCUMENTATION_LINK
|
|
20
|
-
} from "./_node-chunks/chunk-
|
|
20
|
+
} from "./_node-chunks/chunk-6NWJHVL7.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./_node-chunks/chunk-
|
|
23
|
+
} from "./_node-chunks/chunk-PVNML4TZ.js";
|
|
24
24
|
import {
|
|
25
25
|
dirname,
|
|
26
26
|
join,
|
|
27
|
+
normalize,
|
|
27
28
|
relative,
|
|
28
29
|
resolve
|
|
29
|
-
} from "./_node-chunks/chunk-
|
|
30
|
+
} from "./_node-chunks/chunk-NAHQCLFS.js";
|
|
30
31
|
import {
|
|
31
32
|
require_compare,
|
|
32
33
|
require_constants,
|
|
@@ -36,11 +37,11 @@ import {
|
|
|
36
37
|
require_parse_options,
|
|
37
38
|
require_re,
|
|
38
39
|
require_semver
|
|
39
|
-
} from "./_node-chunks/chunk-
|
|
40
|
+
} from "./_node-chunks/chunk-C5VLTJYN.js";
|
|
40
41
|
import {
|
|
41
42
|
__commonJS,
|
|
42
43
|
__toESM
|
|
43
|
-
} from "./_node-chunks/chunk-
|
|
44
|
+
} from "./_node-chunks/chunk-L3B342IY.js";
|
|
44
45
|
|
|
45
46
|
// ../../../node_modules/semver/functions/parse.js
|
|
46
47
|
var require_parse = __commonJS({
|
|
@@ -901,7 +902,9 @@ var loadTemplate = async (name, replacements) => {
|
|
|
901
902
|
join(resolvePackageDir("@storybook/addon-vitest"), "templates", name),
|
|
902
903
|
"utf8"
|
|
903
904
|
);
|
|
904
|
-
return Object.entries(replacements).forEach(
|
|
905
|
+
return Object.entries(replacements).forEach(
|
|
906
|
+
([key, value]) => template = template.replace(key, normalize(value))
|
|
907
|
+
), template;
|
|
905
908
|
}, mergeProperties = (source, target) => {
|
|
906
909
|
for (let sourceProp of source)
|
|
907
910
|
if (sourceProp.type === "ObjectProperty") {
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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_43ek6z88o3y.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
log,
|
|
14
14
|
noop
|
|
15
|
-
} from "./_node-chunks/chunk-
|
|
15
|
+
} from "./_node-chunks/chunk-N7IYBRFV.js";
|
|
16
16
|
import {
|
|
17
17
|
importMetaResolve
|
|
18
|
-
} from "./_node-chunks/chunk-
|
|
18
|
+
} from "./_node-chunks/chunk-TKX7NMBS.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-6NWJHVL7.js";
|
|
28
28
|
import {
|
|
29
29
|
require_picocolors
|
|
30
|
-
} from "./_node-chunks/chunk-
|
|
30
|
+
} from "./_node-chunks/chunk-P5XLOHYJ.js";
|
|
31
31
|
import {
|
|
32
32
|
require_dist
|
|
33
|
-
} from "./_node-chunks/chunk-
|
|
33
|
+
} from "./_node-chunks/chunk-PVNML4TZ.js";
|
|
34
34
|
import {
|
|
35
35
|
normalize
|
|
36
|
-
} from "./_node-chunks/chunk-
|
|
36
|
+
} from "./_node-chunks/chunk-NAHQCLFS.js";
|
|
37
37
|
import {
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./_node-chunks/chunk-
|
|
39
|
+
} from "./_node-chunks/chunk-L3B342IY.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_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-L3B342IY.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/tree-kill/index.js
|
|
19
19
|
var require_tree_kill = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0bbxyf9qwng from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0bbxyf9qwng from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0bbxyf9qwng from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0bbxyf9qwng.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0bbxyf9qwng.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0bbxyf9qwng.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-P5XLOHYJ.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-PVNML4TZ.js";
|
|
18
18
|
import {
|
|
19
19
|
join,
|
|
20
20
|
normalize,
|
|
@@ -22,12 +22,12 @@ import {
|
|
|
22
22
|
relative,
|
|
23
23
|
resolve,
|
|
24
24
|
sep
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-NAHQCLFS.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
29
29
|
__toESM
|
|
30
|
-
} from "../_node-chunks/chunk-
|
|
30
|
+
} from "../_node-chunks/chunk-L3B342IY.js";
|
|
31
31
|
|
|
32
32
|
// ../../../node_modules/braces/lib/utils.js
|
|
33
33
|
var require_utils = __commonJS({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-vitest",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.4",
|
|
4
4
|
"description": "Storybook Vitest addon: Blazing fast component testing using stories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@vitest/browser": "^3.0.0 || ^4.0.0",
|
|
100
100
|
"@vitest/browser-playwright": "^4.0.0",
|
|
101
101
|
"@vitest/runner": "^3.0.0 || ^4.0.0",
|
|
102
|
-
"storybook": "^10.2.
|
|
102
|
+
"storybook": "^10.2.4",
|
|
103
103
|
"vitest": "^3.0.0 || ^4.0.0"
|
|
104
104
|
},
|
|
105
105
|
"peerDependenciesMeta": {
|