@remix-run/test 0.4.0 → 0.4.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.
|
@@ -56,8 +56,8 @@ describe('Counter', () => {
|
|
|
56
56
|
});
|
|
57
57
|
describe('FieldLabel (using decamelize)', () => {
|
|
58
58
|
// Demonstrates that ESM third-party libraries are importable from test modules
|
|
59
|
-
function FieldLabel(
|
|
60
|
-
return (
|
|
59
|
+
function FieldLabel(handle) {
|
|
60
|
+
return () => (_jsx("span", { "data-testid": "label", children: decamelize(handle.props.name, { separator: ' ' }) }));
|
|
61
61
|
}
|
|
62
62
|
it('renders a single word unchanged', (t) => {
|
|
63
63
|
let { $, cleanup } = render(_jsx(FieldLabel, { name: "name" }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix-run/test",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "A test framework for JavaScript and TypeScript projects",
|
|
5
5
|
"author": "Shopify Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"magic-string": "^0.30.21",
|
|
47
47
|
"source-map-js": "^1.2.1",
|
|
48
48
|
"v8-to-istanbul": "^9.3.0",
|
|
49
|
-
"@remix-run/node-tsx": "^0.1.
|
|
50
|
-
"@remix-run/terminal": "^0.1.
|
|
49
|
+
"@remix-run/node-tsx": "^0.1.1",
|
|
50
|
+
"@remix-run/terminal": "^0.1.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"playwright": "^1.59.0"
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@typescript/native-preview": "7.0.0-dev.20251125.1",
|
|
67
67
|
"decamelize": "^6.0.1",
|
|
68
68
|
"playwright": "^1.59.0",
|
|
69
|
-
"@remix-run/assert": "^0.2.
|
|
70
|
-
"@remix-run/ui": "^0.
|
|
71
|
-
"@remix-run/node-fetch-server": "^0.13.
|
|
69
|
+
"@remix-run/assert": "^0.2.1",
|
|
70
|
+
"@remix-run/ui": "^0.2.0",
|
|
71
|
+
"@remix-run/node-fetch-server": "^0.13.3"
|
|
72
72
|
},
|
|
73
73
|
"keywords": [
|
|
74
74
|
"testing",
|