@storybook/addon-vitest 10.4.0-alpha.7 → 10.4.0-alpha.8
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-JFYR7JA4.js → chunk-3A4IG7MJ.js} +9 -9
- package/dist/_node-chunks/{chunk-MWM4HTSC.js → chunk-3QGNJUQN.js} +7 -7
- package/dist/_node-chunks/{chunk-XNZNG3BA.js → chunk-G2S5A4N4.js} +7 -7
- package/dist/_node-chunks/{chunk-ZBEI37ES.js → chunk-GWALLEFJ.js} +7 -7
- package/dist/_node-chunks/{chunk-DCJE73ZW.js → chunk-HUOUFKM5.js} +6 -6
- package/dist/_node-chunks/{chunk-OS6ARBVS.js → chunk-MQ4KBFQ6.js} +6 -6
- package/dist/_node-chunks/{chunk-KHY44X6C.js → chunk-NSRLORL4.js} +6 -6
- package/dist/_node-chunks/{chunk-HAEU5Z3R.js → chunk-YAR5IQLF.js} +6 -6
- package/dist/_node-chunks/{vitest.config.3.2.template-366EOHBN.js → vitest.config.3.2.template-QPSW4ZWG.js} +7 -7
- package/dist/_node-chunks/{vitest.config.4.template-CLFMPK3W.js → vitest.config.4.template-GK5CKZV3.js} +7 -7
- package/dist/_node-chunks/{vitest.config.template-LJMQDFFO.js → vitest.config.template-SIYWKYNQ.js} +7 -7
- package/dist/_node-chunks/{vitest.workspace.template-U3DNL46X.js → vitest.workspace.template-AP4KNFK6.js} +7 -7
- package/dist/constants.js +8 -8
- package/dist/manager.js +82 -3
- package/dist/node/coverage-reporter.js +8 -8
- package/dist/node/vitest.js +12 -12
- package/dist/postinstall.js +16 -16
- package/dist/preset.js +12 -12
- package/dist/vitest-plugin/global-setup.js +7 -7
- package/dist/vitest-plugin/index.js +10 -10
- package/package.json +3 -3
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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_ID2 as ADDON_ID
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MQ4KBFQ6.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GWALLEFJ.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NSRLORL4.js";
|
|
21
21
|
|
|
22
22
|
// src/logger.ts
|
|
23
23
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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-NSRLORL4.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_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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-NSRLORL4.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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-NSRLORL4.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_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NSRLORL4.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.config.3.2.template.ts
|
|
15
15
|
var vitest_config_3_2_template_default = `import path from 'node:path';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NSRLORL4.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.config.4.template.ts
|
|
15
15
|
var vitest_config_4_template_default = `import path from 'node:path';
|
package/dist/_node-chunks/{vitest.config.template-LJMQDFFO.js → vitest.config.template-SIYWKYNQ.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NSRLORL4.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.config.template.ts
|
|
15
15
|
var vitest_config_template_default = `import path from 'node:path';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NSRLORL4.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.workspace.template.ts
|
|
15
15
|
var vitest_workspace_template_default = `import path from 'node:path';
|
package/dist/constants.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
TRIGGER_TEST_RUN_RESPONSE,
|
|
30
30
|
TUTORIAL_VIDEO_LINK,
|
|
31
31
|
storeOptions
|
|
32
|
-
} from "./_node-chunks/chunk-
|
|
33
|
-
import "./_node-chunks/chunk-
|
|
32
|
+
} from "./_node-chunks/chunk-MQ4KBFQ6.js";
|
|
33
|
+
import "./_node-chunks/chunk-NSRLORL4.js";
|
|
34
34
|
export {
|
|
35
35
|
ADDON_ID as A11Y_ADDON_ID,
|
|
36
36
|
PANEL_ID2 as A11Y_PANEL_ID,
|
package/dist/manager.js
CHANGED
|
@@ -298,7 +298,7 @@ var statusValueToStoryIds = (allStatuses, typeId, storyIds) => {
|
|
|
298
298
|
};
|
|
299
299
|
|
|
300
300
|
// src/components/TestProviderRender.tsx
|
|
301
|
-
import React3 from "react";
|
|
301
|
+
import React3, { useEffect as useEffect3, useRef as useRef2 } from "react";
|
|
302
302
|
import {
|
|
303
303
|
ActionList,
|
|
304
304
|
Button as Button2,
|
|
@@ -307,6 +307,54 @@ import {
|
|
|
307
307
|
ToggleButton
|
|
308
308
|
} from "storybook/internal/components";
|
|
309
309
|
import { EyeIcon, InfoIcon, PlayHollowIcon, StopAltIcon } from "@storybook/icons";
|
|
310
|
+
|
|
311
|
+
// ../../../node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.mjs
|
|
312
|
+
var $319e236875307eab$var$liveAnnouncer = null;
|
|
313
|
+
function $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = "assertive", timeout = 7e3) {
|
|
314
|
+
$319e236875307eab$var$liveAnnouncer ? $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout) : ($319e236875307eab$var$liveAnnouncer = new $319e236875307eab$var$LiveAnnouncer(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout) : setTimeout(() => {
|
|
315
|
+
$319e236875307eab$var$liveAnnouncer?.isAttached() && $319e236875307eab$var$liveAnnouncer?.announce(message, assertiveness, timeout);
|
|
316
|
+
}, 100));
|
|
317
|
+
}
|
|
318
|
+
var $319e236875307eab$var$LiveAnnouncer = class {
|
|
319
|
+
isAttached() {
|
|
320
|
+
var _this_node;
|
|
321
|
+
return (_this_node = this.node) === null || _this_node === void 0 ? void 0 : _this_node.isConnected;
|
|
322
|
+
}
|
|
323
|
+
createLog(ariaLive) {
|
|
324
|
+
let node = document.createElement("div");
|
|
325
|
+
return node.setAttribute("role", "log"), node.setAttribute("aria-live", ariaLive), node.setAttribute("aria-relevant", "additions"), node;
|
|
326
|
+
}
|
|
327
|
+
destroy() {
|
|
328
|
+
this.node && (document.body.removeChild(this.node), this.node = null);
|
|
329
|
+
}
|
|
330
|
+
announce(message, assertiveness = "assertive", timeout = 7e3) {
|
|
331
|
+
var _this_assertiveLog, _this_politeLog;
|
|
332
|
+
if (!this.node) return;
|
|
333
|
+
let node = document.createElement("div");
|
|
334
|
+
typeof message == "object" ? (node.setAttribute("role", "img"), node.setAttribute("aria-labelledby", message["aria-labelledby"])) : node.textContent = message, assertiveness === "assertive" ? (_this_assertiveLog = this.assertiveLog) === null || _this_assertiveLog === void 0 || _this_assertiveLog.appendChild(node) : (_this_politeLog = this.politeLog) === null || _this_politeLog === void 0 || _this_politeLog.appendChild(node), message !== "" && setTimeout(() => {
|
|
335
|
+
node.remove();
|
|
336
|
+
}, timeout);
|
|
337
|
+
}
|
|
338
|
+
clear(assertiveness) {
|
|
339
|
+
this.node && ((!assertiveness || assertiveness === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!assertiveness || assertiveness === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
|
|
340
|
+
}
|
|
341
|
+
constructor() {
|
|
342
|
+
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
|
|
343
|
+
border: 0,
|
|
344
|
+
clip: "rect(0 0 0 0)",
|
|
345
|
+
clipPath: "inset(50%)",
|
|
346
|
+
height: "1px",
|
|
347
|
+
margin: "-1px",
|
|
348
|
+
overflow: "hidden",
|
|
349
|
+
padding: 0,
|
|
350
|
+
position: "absolute",
|
|
351
|
+
width: "1px",
|
|
352
|
+
whiteSpace: "nowrap"
|
|
353
|
+
}), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
|
|
354
|
+
}
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
// src/components/TestProviderRender.tsx
|
|
310
358
|
import { addons } from "storybook/manager-api";
|
|
311
359
|
import { styled as styled4 } from "storybook/theming";
|
|
312
360
|
|
|
@@ -450,8 +498,39 @@ var Container = styled4.div(({ inContextMenu }) => ({
|
|
|
450
498
|
isSettingsUpdated,
|
|
451
499
|
...props
|
|
452
500
|
}) => {
|
|
453
|
-
let { config, watching, cancelling, currentRun, fatalError } = storeState, finishedTestCount = currentRun.componentTestCount.success + currentRun.componentTestCount.error, hasA11yAddon = addons.experimental_getRegisteredAddons().includes(ADDON_ID), isRunning = testProviderState === "test-provider-state:running", isStarting = isRunning && finishedTestCount === 0, [componentTestStatusIcon, componentTestStatusLabel] = fatalError ? ["critical", "Component tests crashed"] : componentTestStatusValueToStoryIds["status-value:error"].length > 0 ? ["negative", "Component tests failed"] : isRunning ? ["unknown", "Testing in progress"] : componentTestStatusValueToStoryIds["status-value:success"].length > 0 ? ["positive", "Component tests passed"] : ["unknown", "Run tests to see results"], [a11yStatusIcon, a11yStatusLabel] = fatalError ? ["critical", "Component tests crashed"] : a11yStatusValueToStoryIds["status-value:error"].length > 0 ? ["negative", "Accessibility tests failed"] : a11yStatusValueToStoryIds["status-value:warning"].length > 0 ? ["warning", "Accessibility tests failed"] : isRunning ? ["unknown", "Testing in progress"] : a11yStatusValueToStoryIds["status-value:success"].length > 0 ? ["positive", "Accessibility tests passed"] : ["unknown", "Run tests to see accessibility results"];
|
|
454
|
-
return
|
|
501
|
+
let { config, watching, cancelling, currentRun, fatalError } = storeState, finishedTestCount = currentRun.componentTestCount.success + currentRun.componentTestCount.error, hasA11yAddon = addons.experimental_getRegisteredAddons().includes(ADDON_ID), isRunning = testProviderState === "test-provider-state:running", isStarting = isRunning && finishedTestCount === 0, [componentTestStatusIcon, componentTestStatusLabel] = fatalError ? ["critical", "Component tests crashed"] : componentTestStatusValueToStoryIds["status-value:error"].length > 0 ? ["negative", "Component tests failed"] : isRunning ? ["unknown", "Testing in progress"] : componentTestStatusValueToStoryIds["status-value:success"].length > 0 ? ["positive", "Component tests passed"] : ["unknown", "Run tests to see results"], [a11yStatusIcon, a11yStatusLabel] = fatalError ? ["critical", "Component tests crashed"] : a11yStatusValueToStoryIds["status-value:error"].length > 0 ? ["negative", "Accessibility tests failed"] : a11yStatusValueToStoryIds["status-value:warning"].length > 0 ? ["warning", "Accessibility tests failed"] : isRunning ? ["unknown", "Testing in progress"] : a11yStatusValueToStoryIds["status-value:success"].length > 0 ? ["positive", "Accessibility tests passed"] : ["unknown", "Run tests to see accessibility results"], prevTestProviderStateRef = useRef2(testProviderState);
|
|
502
|
+
return useEffect3(() => {
|
|
503
|
+
let prevState = prevTestProviderStateRef.current;
|
|
504
|
+
if (prevTestProviderStateRef.current = testProviderState, prevState !== testProviderState) {
|
|
505
|
+
if (testProviderState === "test-provider-state:running")
|
|
506
|
+
$319e236875307eab$export$a9b970dcc4ae71a9("Test run started.", "polite");
|
|
507
|
+
else if (testProviderState === "test-provider-state:crashed")
|
|
508
|
+
$319e236875307eab$export$a9b970dcc4ae71a9("Test run crashed.", "assertive");
|
|
509
|
+
else if (testProviderState === "test-provider-state:succeeded" && prevState === "test-provider-state:running") {
|
|
510
|
+
let parts = [], errorCount = componentTestStatusValueToStoryIds["status-value:error"].length, warningCount = componentTestStatusValueToStoryIds["status-value:warning"].length, passedCount = componentTestStatusValueToStoryIds["status-value:success"].length;
|
|
511
|
+
errorCount > 0 && parts.push(`${errorCount} ${errorCount === 1 ? "component" : "components"} errored`), warningCount > 0 && parts.push(
|
|
512
|
+
`${warningCount} ${warningCount === 1 ? "component" : "components"} with warnings`
|
|
513
|
+
), passedCount > 0 && parts.push(`${passedCount} ${passedCount === 1 ? "component" : "components"} passed`);
|
|
514
|
+
let a11yErrorCount = 0;
|
|
515
|
+
if (hasA11yAddon) {
|
|
516
|
+
a11yErrorCount = a11yStatusValueToStoryIds["status-value:error"].length;
|
|
517
|
+
let a11yWarningCount = a11yStatusValueToStoryIds["status-value:warning"].length;
|
|
518
|
+
a11yErrorCount > 0 && parts.push(
|
|
519
|
+
`${a11yErrorCount} accessibility ${a11yErrorCount === 1 ? "error" : "errors"}`
|
|
520
|
+
), a11yWarningCount > 0 && parts.push(
|
|
521
|
+
`${a11yWarningCount} accessibility ${a11yWarningCount === 1 ? "warning" : "warnings"}`
|
|
522
|
+
);
|
|
523
|
+
}
|
|
524
|
+
let message = parts.length > 0 ? `Test run finished. ${parts.join(", ")}.` : "Test run finished. No results.", hasErrors = errorCount > 0 || hasA11yAddon && a11yErrorCount > 0;
|
|
525
|
+
$319e236875307eab$export$a9b970dcc4ae71a9(message, hasErrors ? "assertive" : "polite");
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
}, [
|
|
529
|
+
testProviderState,
|
|
530
|
+
componentTestStatusValueToStoryIds,
|
|
531
|
+
a11yStatusValueToStoryIds,
|
|
532
|
+
hasA11yAddon
|
|
533
|
+
]), React3.createElement(Container, { ...props, inContextMenu: !!entry }, React3.createElement(Heading, null, React3.createElement(Info, null, entry ? React3.createElement(Title, { id: "testing-module-title" }, "Run component tests") : React3.createElement(
|
|
455
534
|
Title,
|
|
456
535
|
{
|
|
457
536
|
id: "testing-module-title",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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-G2S5A4N4.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-NSRLORL4.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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,27 +12,27 @@ var require = CJS_COMPAT_NODE_MODULE_gzcm79tosd5.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
errorToErrorLike,
|
|
14
14
|
log
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-3A4IG7MJ.js";
|
|
16
16
|
import {
|
|
17
17
|
any,
|
|
18
18
|
up
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-HUOUFKM5.js";
|
|
20
20
|
import {
|
|
21
21
|
ADDON_ID2 as ADDON_ID,
|
|
22
22
|
COVERAGE_DIRECTORY,
|
|
23
23
|
STATUS_TYPE_ID_A11Y,
|
|
24
24
|
STATUS_TYPE_ID_COMPONENT_TEST,
|
|
25
25
|
storeOptions
|
|
26
|
-
} from "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
26
|
+
} from "../_node-chunks/chunk-MQ4KBFQ6.js";
|
|
27
|
+
import "../_node-chunks/chunk-GWALLEFJ.js";
|
|
28
28
|
import {
|
|
29
29
|
dirname,
|
|
30
30
|
join,
|
|
31
31
|
normalize,
|
|
32
32
|
path,
|
|
33
33
|
resolve
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-YAR5IQLF.js";
|
|
35
|
+
import "../_node-chunks/chunk-NSRLORL4.js";
|
|
36
36
|
|
|
37
37
|
// src/node/vitest.ts
|
|
38
38
|
import process2 from "node:process";
|
package/dist/postinstall.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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
|
any
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-HUOUFKM5.js";
|
|
15
15
|
import {
|
|
16
16
|
DOCUMENTATION_LINK
|
|
17
|
-
} from "./_node-chunks/chunk-
|
|
17
|
+
} from "./_node-chunks/chunk-MQ4KBFQ6.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
|
-
} from "./_node-chunks/chunk-
|
|
20
|
+
} from "./_node-chunks/chunk-3QGNJUQN.js";
|
|
21
21
|
import {
|
|
22
22
|
dirname,
|
|
23
23
|
normalize,
|
|
24
24
|
relative,
|
|
25
25
|
resolve
|
|
26
|
-
} from "./_node-chunks/chunk-
|
|
26
|
+
} from "./_node-chunks/chunk-YAR5IQLF.js";
|
|
27
27
|
import {
|
|
28
28
|
require_compare,
|
|
29
29
|
require_constants,
|
|
@@ -33,11 +33,11 @@ import {
|
|
|
33
33
|
require_parse_options,
|
|
34
34
|
require_re,
|
|
35
35
|
require_semver
|
|
36
|
-
} from "./_node-chunks/chunk-
|
|
36
|
+
} from "./_node-chunks/chunk-G2S5A4N4.js";
|
|
37
37
|
import {
|
|
38
38
|
__commonJS,
|
|
39
39
|
__toESM
|
|
40
|
-
} from "./_node-chunks/chunk-
|
|
40
|
+
} from "./_node-chunks/chunk-NSRLORL4.js";
|
|
41
41
|
|
|
42
42
|
// ../../../node_modules/semver/functions/parse.js
|
|
43
43
|
var require_parse = __commonJS({
|
|
@@ -902,13 +902,13 @@ import {
|
|
|
902
902
|
async function getTemplatePath(name) {
|
|
903
903
|
switch (name) {
|
|
904
904
|
case "vitest.config.template":
|
|
905
|
-
return import("./_node-chunks/vitest.config.template-
|
|
905
|
+
return import("./_node-chunks/vitest.config.template-SIYWKYNQ.js");
|
|
906
906
|
case "vitest.config.4.template":
|
|
907
|
-
return import("./_node-chunks/vitest.config.4.template-
|
|
907
|
+
return import("./_node-chunks/vitest.config.4.template-GK5CKZV3.js");
|
|
908
908
|
case "vitest.config.3.2.template":
|
|
909
|
-
return import("./_node-chunks/vitest.config.3.2.template-
|
|
909
|
+
return import("./_node-chunks/vitest.config.3.2.template-QPSW4ZWG.js");
|
|
910
910
|
case "vitest.workspace.template":
|
|
911
|
-
return import("./_node-chunks/vitest.workspace.template-
|
|
911
|
+
return import("./_node-chunks/vitest.workspace.template-AP4KNFK6.js");
|
|
912
912
|
default:
|
|
913
913
|
throw new Error(`Unknown template: ${name}`);
|
|
914
914
|
}
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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
|
errorToErrorLike,
|
|
14
14
|
log,
|
|
15
15
|
noop
|
|
16
|
-
} from "./_node-chunks/chunk-
|
|
16
|
+
} from "./_node-chunks/chunk-3A4IG7MJ.js";
|
|
17
17
|
import {
|
|
18
18
|
ADDON_ID2 as ADDON_ID,
|
|
19
19
|
COVERAGE_DIRECTORY,
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
TRIGGER_TEST_RUN_REQUEST,
|
|
25
25
|
TRIGGER_TEST_RUN_RESPONSE,
|
|
26
26
|
storeOptions
|
|
27
|
-
} from "./_node-chunks/chunk-
|
|
27
|
+
} from "./_node-chunks/chunk-MQ4KBFQ6.js";
|
|
28
28
|
import {
|
|
29
29
|
require_picocolors
|
|
30
|
-
} from "./_node-chunks/chunk-
|
|
30
|
+
} from "./_node-chunks/chunk-GWALLEFJ.js";
|
|
31
31
|
import {
|
|
32
32
|
require_dist
|
|
33
|
-
} from "./_node-chunks/chunk-
|
|
33
|
+
} from "./_node-chunks/chunk-3QGNJUQN.js";
|
|
34
34
|
import {
|
|
35
35
|
normalize
|
|
36
|
-
} from "./_node-chunks/chunk-
|
|
36
|
+
} from "./_node-chunks/chunk-YAR5IQLF.js";
|
|
37
37
|
import {
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./_node-chunks/chunk-
|
|
39
|
+
} from "./_node-chunks/chunk-NSRLORL4.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_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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-NSRLORL4.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_82xzf4lejgf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_82xzf4lejgf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_82xzf4lejgf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_82xzf4lejgf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_82xzf4lejgf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_82xzf4lejgf.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-GWALLEFJ.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-3QGNJUQN.js";
|
|
18
18
|
import {
|
|
19
19
|
dirname,
|
|
20
20
|
join,
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
relative,
|
|
24
24
|
resolve,
|
|
25
25
|
sep
|
|
26
|
-
} from "../_node-chunks/chunk-
|
|
26
|
+
} from "../_node-chunks/chunk-YAR5IQLF.js";
|
|
27
27
|
import {
|
|
28
28
|
__commonJS,
|
|
29
29
|
__require,
|
|
30
30
|
__toESM
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-NSRLORL4.js";
|
|
32
32
|
|
|
33
33
|
// ../../../node_modules/braces/lib/utils.js
|
|
34
34
|
var require_utils = __commonJS({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-vitest",
|
|
3
|
-
"version": "10.4.0-alpha.
|
|
3
|
+
"version": "10.4.0-alpha.8",
|
|
4
4
|
"description": "Storybook Vitest addon: Blazing fast component testing using stories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@storybook/icons": "^2.0.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@storybook/addon-a11y": "10.4.0-alpha.
|
|
83
|
+
"@storybook/addon-a11y": "10.4.0-alpha.8",
|
|
84
84
|
"@types/istanbul-lib-report": "^3.0.3",
|
|
85
85
|
"@types/micromatch": "^4.0.0",
|
|
86
86
|
"@types/node": "^22.19.1",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@vitest/browser": "^3.0.0 || ^4.0.0",
|
|
109
109
|
"@vitest/browser-playwright": "^4.0.0",
|
|
110
110
|
"@vitest/runner": "^3.0.0 || ^4.0.0",
|
|
111
|
-
"storybook": "^10.4.0-alpha.
|
|
111
|
+
"storybook": "^10.4.0-alpha.8",
|
|
112
112
|
"vitest": "^3.0.0 || ^4.0.0"
|
|
113
113
|
},
|
|
114
114
|
"peerDependenciesMeta": {
|