@cosmicdrift/kumiko-testing 0.370.0 → 0.371.1
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/package.json +5 -5
- package/src/changes.json +6 -0
- package/src/scaffold.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-testing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.371.1",
|
|
4
4
|
"description": "Test template for Kumiko apps: per-flow seedTenant, app test stack, canonical test preloads, bunfig generator and integration runner.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"kumiko-testing": "./bin/kumiko-testing.ts"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
99
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
98
|
+
"@cosmicdrift/kumiko-framework": "0.371.1",
|
|
99
|
+
"@cosmicdrift/kumiko-types": "0.371.1",
|
|
100
100
|
"zod": "^4.4.3"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
|
-
"@cosmicdrift/kumiko-bundled-features": "0.
|
|
132
|
-
"@cosmicdrift/kumiko-dev-server": "0.
|
|
131
|
+
"@cosmicdrift/kumiko-bundled-features": "0.371.1",
|
|
132
|
+
"@cosmicdrift/kumiko-dev-server": "0.371.1",
|
|
133
133
|
"@happy-dom/global-registrator": "^20.11.2",
|
|
134
134
|
"@playwright/test": "^1.62.1",
|
|
135
135
|
"@testing-library/dom": "^10.4.1",
|
package/src/changes.json
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.371.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Scaffold test:dom passes without test files",
|
|
6
|
+
"detail": "The scaffold sets test:dom to pass without test files and adds the devDependencies @testing-library/react, @testing-library/dom and @happy-dom/global-registrator."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.370.0",
|
|
4
10
|
"type": "improvement",
|
package/src/scaffold.ts
CHANGED
|
@@ -23,6 +23,8 @@ export const SCAFFOLD_INTEGRATION_PARALLEL = 4;
|
|
|
23
23
|
const PLAYWRIGHT_VERSION = "^1.62.1";
|
|
24
24
|
// bunfig.dom.toml preloads kumiko-testing's dom preload, which registers happy-dom.
|
|
25
25
|
const HAPPY_DOM_VERSION = "^20.11.2";
|
|
26
|
+
const TESTING_LIBRARY_REACT_VERSION = "^16.3.2";
|
|
27
|
+
const TESTING_LIBRARY_DOM_VERSION = "^10.4.1";
|
|
26
28
|
|
|
27
29
|
const TEST_RUNTIME_DIRECTIVE = "// @runtime test";
|
|
28
30
|
|
|
@@ -219,7 +221,7 @@ export function renderTestSetup(input: RenderTestSetupInput): ScaffoldTestSetup
|
|
|
219
221
|
"test:unit": unitTestScript,
|
|
220
222
|
"test:integration": integrationTestScript,
|
|
221
223
|
"test:integration:ci": integrationTestScript,
|
|
222
|
-
"test:dom": `bun --config=${BUNFIG_FILES.dom} test --timeout=${TEST_TIMEOUT_MS.unit} --dots .test.tsx`,
|
|
224
|
+
"test:dom": `bun --config=${BUNFIG_FILES.dom} test --timeout=${TEST_TIMEOUT_MS.unit} --dots --pass-with-no-tests .test.tsx`,
|
|
223
225
|
// bunfig.real.toml's pathIgnorePatterns can only blacklist (no "!" negation,
|
|
224
226
|
// verified against bun 1.4), so it can't express "match only *.real.test.ts"
|
|
225
227
|
// on its own — every *.test.ts file matches bun's default test glob too,
|
|
@@ -237,6 +239,8 @@ export function renderTestSetup(input: RenderTestSetupInput): ScaffoldTestSetup
|
|
|
237
239
|
"@cosmicdrift/kumiko-testing": frameworkVersion,
|
|
238
240
|
"@happy-dom/global-registrator": HAPPY_DOM_VERSION,
|
|
239
241
|
"@playwright/test": PLAYWRIGHT_VERSION,
|
|
242
|
+
"@testing-library/dom": TESTING_LIBRARY_DOM_VERSION,
|
|
243
|
+
"@testing-library/react": TESTING_LIBRARY_REACT_VERSION,
|
|
240
244
|
},
|
|
241
245
|
rulesMarkdown: RULES_MARKDOWN,
|
|
242
246
|
};
|