@forgebook/testing 0.2.1 → 0.2.2
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/README.md +3 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -149,6 +149,9 @@ export default defineConfig({
|
|
|
149
149
|
});
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
+
The plugin keeps a module that imports story files out of Vitest's module cache (`fsModuleCache`), as a group must be
|
|
153
|
+
listed anew on each run; every other module stays cached.
|
|
154
|
+
|
|
152
155
|
`storyServerTests` also takes `wrap`: a second pass with every story inside a decorator (a provider with a partial
|
|
153
156
|
translation catalogue), its HTML checked.
|
|
154
157
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forgebook/testing",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Tests from a package's stories: each story and variant in the browser with axe, spills and overlays, screenshots, and each story rendered on the server.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -80,13 +80,13 @@
|
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@axe-core/playwright": "4.14.0",
|
|
82
82
|
"@ensiria/cli-kit": "^0.1.1",
|
|
83
|
-
"@forgebook/story-format": "0.2.
|
|
83
|
+
"@forgebook/story-format": "0.2.2"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"@playwright/test": "^1.64.0",
|
|
87
87
|
"vite": "^8.0.0",
|
|
88
88
|
"vitest": "^5.0.0",
|
|
89
|
-
"forgebook": "^0.3.
|
|
89
|
+
"forgebook": "^0.3.1"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@playwright/test": "1.64.1",
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
"react": "19.3.0",
|
|
96
96
|
"vite": "8.3.5",
|
|
97
97
|
"vitest": "5.0.5",
|
|
98
|
-
"@forgebook/typescript-config": "0.0.0",
|
|
99
98
|
"@forgebook/tools": "0.0.0",
|
|
100
|
-
"forgebook": "0.
|
|
99
|
+
"@forgebook/typescript-config": "0.0.0",
|
|
100
|
+
"forgebook": "0.3.1"
|
|
101
101
|
},
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|