@storybook/addon-vitest 0.0.0-pr-32795-sha-2ff8d295 → 0.0.0-pr-33106-sha-555498a5
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/_browser-chunks/{chunk-TJXI7EIW.js → chunk-TYJENCK5.js} +1 -2
- package/dist/_node-chunks/{chunk-7AA22XYW.js → chunk-3S2E5HBR.js} +6 -6
- package/dist/_node-chunks/{chunk-P2LBJM7Q.js → chunk-4TUTLJLM.js} +7 -7
- package/dist/_node-chunks/{chunk-QWYWOSA6.js → chunk-BNJDKAIH.js} +6 -6
- package/dist/_node-chunks/{chunk-GIB764DK.js → chunk-FXA364H2.js} +7 -7
- package/dist/_node-chunks/{chunk-M6B3MXZI.js → chunk-HFESX3Y7.js} +7 -7
- package/dist/_node-chunks/{chunk-3GCLAEGA.js → chunk-O2HEZDZM.js} +7 -7
- package/dist/_node-chunks/{chunk-D4Z3PJPX.js → chunk-QAJY5YCO.js} +6 -6
- package/dist/_node-chunks/{chunk-4J4XM5TQ.js → chunk-YKIB2QUN.js} +7 -7
- package/dist/_node-chunks/{chunk-ATXQIWRA.js → chunk-YLHWLHGG.js} +9 -9
- package/dist/manager.js +2 -5
- package/dist/node/coverage-reporter.js +8 -8
- package/dist/node/vitest.js +12 -12
- package/dist/postinstall.js +13 -13
- package/dist/preset.js +14 -14
- package/dist/vitest-plugin/global-setup.js +7 -7
- package/dist/vitest-plugin/index.js +10 -10
- package/dist/vitest-plugin/setup-file.js +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ var ADDON_ID2 = "storybook/a11y", PANEL_ID2 = `${ADDON_ID2}/panel`;
|
|
|
6
6
|
var UI_STATE_ID = `${ADDON_ID2}/ui`, RESULT = `${ADDON_ID2}/result`, REQUEST = `${ADDON_ID2}/request`, RUNNING = `${ADDON_ID2}/running`, ERROR = `${ADDON_ID2}/error`, MANUAL = `${ADDON_ID2}/manual`, SELECT = `${ADDON_ID2}/select`, DOCUMENTATION_LINK2 = "writing-tests/accessibility-testing", DOCUMENTATION_DISCREPANCY_LINK2 = `${DOCUMENTATION_LINK2}#why-are-my-tests-failing-in-different-environments`;
|
|
7
7
|
|
|
8
8
|
// src/constants.ts
|
|
9
|
-
var ADDON_ID3 = "storybook/test", TEST_PROVIDER_ID = `${ADDON_ID3}/test-provider
|
|
9
|
+
var ADDON_ID3 = "storybook/test", TEST_PROVIDER_ID = `${ADDON_ID3}/test-provider`;
|
|
10
10
|
var DOCUMENTATION_LINK3 = "writing-tests/integrations/vitest-addon", DOCUMENTATION_FATAL_ERROR_LINK = `${DOCUMENTATION_LINK3}#what-happens-if-vitest-itself-has-an-error`;
|
|
11
11
|
var storeOptions = {
|
|
12
12
|
id: ADDON_ID3,
|
|
@@ -52,7 +52,6 @@ export {
|
|
|
52
52
|
PANEL_ID2,
|
|
53
53
|
ADDON_ID3 as ADDON_ID2,
|
|
54
54
|
TEST_PROVIDER_ID,
|
|
55
|
-
STORYBOOK_ADDON_TEST_CHANNEL,
|
|
56
55
|
DOCUMENTATION_FATAL_ERROR_LINK,
|
|
57
56
|
storeOptions,
|
|
58
57
|
FULL_RUN_TRIGGERS,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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_nmuqhvjq15p.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3S2E5HBR.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_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -18,7 +18,7 @@ var ADDON_ID2 = "storybook/a11y", PANEL_ID2 = `${ADDON_ID2}/panel`;
|
|
|
18
18
|
var UI_STATE_ID = `${ADDON_ID2}/ui`, RESULT = `${ADDON_ID2}/result`, REQUEST = `${ADDON_ID2}/request`, RUNNING = `${ADDON_ID2}/running`, ERROR = `${ADDON_ID2}/error`, MANUAL = `${ADDON_ID2}/manual`, SELECT = `${ADDON_ID2}/select`, DOCUMENTATION_LINK2 = "writing-tests/accessibility-testing", DOCUMENTATION_DISCREPANCY_LINK2 = `${DOCUMENTATION_LINK2}#why-are-my-tests-failing-in-different-environments`;
|
|
19
19
|
|
|
20
20
|
// src/constants.ts
|
|
21
|
-
var ADDON_ID3 = "storybook/test", TEST_PROVIDER_ID = `${ADDON_ID3}/test-provider`, STORYBOOK_ADDON_TEST_CHANNEL =
|
|
21
|
+
var ADDON_ID3 = "storybook/test", TEST_PROVIDER_ID = `${ADDON_ID3}/test-provider`, STORYBOOK_ADDON_TEST_CHANNEL = "STORYBOOK_ADDON_TEST_CHANNEL";
|
|
22
22
|
var DOCUMENTATION_LINK3 = "writing-tests/integrations/vitest-addon", DOCUMENTATION_FATAL_ERROR_LINK = `${DOCUMENTATION_LINK3}#what-happens-if-vitest-itself-has-an-error`, COVERAGE_DIRECTORY = "coverage", storeOptions = {
|
|
23
23
|
id: ADDON_ID3,
|
|
24
24
|
initialState: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-BNJDKAIH.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_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-BNJDKAIH.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_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-BNJDKAIH.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-FXA364H2.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HFESX3Y7.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BNJDKAIH.js";
|
|
21
21
|
|
|
22
22
|
// src/logger.ts
|
|
23
23
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
package/dist/manager.js
CHANGED
|
@@ -7,10 +7,9 @@ import {
|
|
|
7
7
|
PANEL_ID2,
|
|
8
8
|
STATUS_TYPE_ID_A11Y,
|
|
9
9
|
STATUS_TYPE_ID_COMPONENT_TEST,
|
|
10
|
-
STORYBOOK_ADDON_TEST_CHANNEL,
|
|
11
10
|
TEST_PROVIDER_ID,
|
|
12
11
|
storeOptions
|
|
13
|
-
} from "./_browser-chunks/chunk-
|
|
12
|
+
} from "./_browser-chunks/chunk-TYJENCK5.js";
|
|
14
13
|
|
|
15
14
|
// src/manager.tsx
|
|
16
15
|
import React5, { useState as useState3 } from "react";
|
|
@@ -695,9 +694,7 @@ addons2.register(ADDON_ID2, (api) => {
|
|
|
695
694
|
store.setState((state) => ({
|
|
696
695
|
...state,
|
|
697
696
|
indexUrl: new URL("index.json", window.location.href).toString()
|
|
698
|
-
}))
|
|
699
|
-
api.emit(STORYBOOK_ADDON_TEST_CHANNEL, { type: "test-run-completed", payload });
|
|
700
|
-
});
|
|
697
|
+
}));
|
|
701
698
|
}), addons2.add(TEST_PROVIDER_ID, {
|
|
702
699
|
type: Addon_TypesEnum.experimental_TEST_PROVIDER,
|
|
703
700
|
render: () => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-YKIB2QUN.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-BNJDKAIH.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_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-YLHWLHGG.js";
|
|
15
15
|
import {
|
|
16
16
|
any
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-QAJY5YCO.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-FXA364H2.js";
|
|
25
|
+
import "../_node-chunks/chunk-HFESX3Y7.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-3S2E5HBR.js";
|
|
32
|
+
import "../_node-chunks/chunk-BNJDKAIH.js";
|
|
33
33
|
|
|
34
34
|
// src/node/vitest.ts
|
|
35
35
|
import process2 from "node:process";
|
package/dist/postinstall.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-4TUTLJLM.js";
|
|
15
15
|
import {
|
|
16
16
|
any
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-QAJY5YCO.js";
|
|
18
18
|
import {
|
|
19
19
|
DOCUMENTATION_LINK
|
|
20
|
-
} from "./_node-chunks/chunk-
|
|
20
|
+
} from "./_node-chunks/chunk-FXA364H2.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./_node-chunks/chunk-
|
|
23
|
+
} from "./_node-chunks/chunk-O2HEZDZM.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-3S2E5HBR.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-YKIB2QUN.js";
|
|
40
40
|
import {
|
|
41
41
|
__commonJS,
|
|
42
42
|
__toESM
|
|
43
|
-
} from "./_node-chunks/chunk-
|
|
43
|
+
} from "./_node-chunks/chunk-BNJDKAIH.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_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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_nmuqhvjq15p.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
log,
|
|
14
14
|
noop
|
|
15
|
-
} from "./_node-chunks/chunk-
|
|
15
|
+
} from "./_node-chunks/chunk-YLHWLHGG.js";
|
|
16
16
|
import {
|
|
17
17
|
importMetaResolve
|
|
18
|
-
} from "./_node-chunks/chunk-
|
|
18
|
+
} from "./_node-chunks/chunk-4TUTLJLM.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-FXA364H2.js";
|
|
28
28
|
import {
|
|
29
29
|
require_picocolors
|
|
30
|
-
} from "./_node-chunks/chunk-
|
|
30
|
+
} from "./_node-chunks/chunk-HFESX3Y7.js";
|
|
31
31
|
import {
|
|
32
32
|
require_dist
|
|
33
|
-
} from "./_node-chunks/chunk-
|
|
33
|
+
} from "./_node-chunks/chunk-O2HEZDZM.js";
|
|
34
34
|
import {
|
|
35
35
|
normalize
|
|
36
|
-
} from "./_node-chunks/chunk-
|
|
36
|
+
} from "./_node-chunks/chunk-3S2E5HBR.js";
|
|
37
37
|
import {
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./_node-chunks/chunk-
|
|
39
|
+
} from "./_node-chunks/chunk-BNJDKAIH.js";
|
|
40
40
|
|
|
41
41
|
// src/preset.ts
|
|
42
42
|
import { mkdir } from "node:fs/promises";
|
|
@@ -385,7 +385,7 @@ var experimental_serverChannel = async (channel, options) => {
|
|
|
385
385
|
}), !core.disableTelemetry) {
|
|
386
386
|
let enableCrashReports = core.enableCrashReports || options.enableCrashReports;
|
|
387
387
|
channel.on(STORYBOOK_ADDON_TEST_CHANNEL, (event) => {
|
|
388
|
-
|
|
388
|
+
telemetry("addon-test", {
|
|
389
389
|
...event,
|
|
390
390
|
payload: {
|
|
391
391
|
...event.payload,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-BNJDKAIH.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_wm3xnthqr3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wm3xnthqr3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wm3xnthqr3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wm3xnthqr3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wm3xnthqr3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wm3xnthqr3.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-HFESX3Y7.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-O2HEZDZM.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-3S2E5HBR.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__require,
|
|
28
28
|
__toESM
|
|
29
|
-
} from "../_node-chunks/chunk-
|
|
29
|
+
} from "../_node-chunks/chunk-BNJDKAIH.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-33106-sha-555498a5",
|
|
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-33106-sha-555498a5",
|
|
107
107
|
"vitest": "^3.0.0 || ^4.0.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependenciesMeta": {
|