@cedarjs/testing 6.0.0-canary.2663 → 6.0.0-canary.2665
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/config/jest/web/jest-preset.d.ts.map +1 -1
- package/config/jest/web/jest-preset.js +6 -1
- package/dist/cjs/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/cjs/config/jest/web/jest-preset.js +6 -1
- package/dist/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/config/jest/web/jest-preset.js +6 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAuFb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -75,9 +75,14 @@ const config = {
|
|
|
75
75
|
*/
|
|
76
76
|
"^react$": import_node_path.default.join(NODE_MODULES_PATH, "react"),
|
|
77
77
|
"^react-dom$": import_node_path.default.join(NODE_MODULES_PATH, "react-dom"),
|
|
78
|
+
// Point straight at Apollo Client's CJS build. Mapping to the package
|
|
79
|
+
// directory would bypass its `exports` map and land on the ESM build,
|
|
80
|
+
// and `require.resolve` can't be used either because Node 22+ resolves
|
|
81
|
+
// it through the `module-sync` condition (also ESM) – both of which Jest
|
|
82
|
+
// can't parse
|
|
78
83
|
"^@apollo/client/react$": import_node_path.default.join(
|
|
79
84
|
NODE_MODULES_PATH,
|
|
80
|
-
"@apollo/client/react"
|
|
85
|
+
"@apollo/client/__cjs/react/index.cjs"
|
|
81
86
|
),
|
|
82
87
|
// We replace imports to "@cedarjs/router" with our own "mock" implementation.
|
|
83
88
|
"^@cedarjs/router$": import_node_path.default.join(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAuFb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -75,9 +75,14 @@ const config = {
|
|
|
75
75
|
*/
|
|
76
76
|
"^react$": import_node_path.default.join(NODE_MODULES_PATH, "react"),
|
|
77
77
|
"^react-dom$": import_node_path.default.join(NODE_MODULES_PATH, "react-dom"),
|
|
78
|
+
// Point straight at Apollo Client's CJS build. Mapping to the package
|
|
79
|
+
// directory would bypass its `exports` map and land on the ESM build,
|
|
80
|
+
// and `require.resolve` can't be used either because Node 22+ resolves
|
|
81
|
+
// it through the `module-sync` condition (also ESM) – both of which Jest
|
|
82
|
+
// can't parse
|
|
78
83
|
"^@apollo/client/react$": import_node_path.default.join(
|
|
79
84
|
NODE_MODULES_PATH,
|
|
80
|
-
"@apollo/client/react"
|
|
85
|
+
"@apollo/client/__cjs/react/index.cjs"
|
|
81
86
|
),
|
|
82
87
|
// We replace imports to "@cedarjs/router" with our own "mock" implementation.
|
|
83
88
|
"^@cedarjs/router$": import_node_path.default.join(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/web/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAOlC,QAAA,MAAM,MAAM,EAAE,MAuFb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -42,9 +42,14 @@ const config = {
|
|
|
42
42
|
*/
|
|
43
43
|
"^react$": path.join(NODE_MODULES_PATH, "react"),
|
|
44
44
|
"^react-dom$": path.join(NODE_MODULES_PATH, "react-dom"),
|
|
45
|
+
// Point straight at Apollo Client's CJS build. Mapping to the package
|
|
46
|
+
// directory would bypass its `exports` map and land on the ESM build,
|
|
47
|
+
// and `require.resolve` can't be used either because Node 22+ resolves
|
|
48
|
+
// it through the `module-sync` condition (also ESM) – both of which Jest
|
|
49
|
+
// can't parse
|
|
45
50
|
"^@apollo/client/react$": path.join(
|
|
46
51
|
NODE_MODULES_PATH,
|
|
47
|
-
"@apollo/client/react"
|
|
52
|
+
"@apollo/client/__cjs/react/index.cjs"
|
|
48
53
|
),
|
|
49
54
|
// We replace imports to "@cedarjs/router" with our own "mock" implementation.
|
|
50
55
|
"^@cedarjs/router$": path.join(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/testing",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2665",
|
|
4
4
|
"description": "Tools, wrappers and configuration for testing a Cedar project.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -116,10 +116,10 @@
|
|
|
116
116
|
"test:watch": "vitest watch"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@cedarjs/babel-config": "6.0.0-canary.
|
|
120
|
-
"@cedarjs/context": "6.0.0-canary.
|
|
121
|
-
"@cedarjs/graphql-server": "6.0.0-canary.
|
|
122
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
119
|
+
"@cedarjs/babel-config": "6.0.0-canary.2665",
|
|
120
|
+
"@cedarjs/context": "6.0.0-canary.2665",
|
|
121
|
+
"@cedarjs/graphql-server": "6.0.0-canary.2665",
|
|
122
|
+
"@cedarjs/project-config": "6.0.0-canary.2665",
|
|
123
123
|
"@testing-library/dom": "10.4.1",
|
|
124
124
|
"@testing-library/jest-dom": "6.9.1",
|
|
125
125
|
"@testing-library/react": "16.3.2",
|
|
@@ -141,10 +141,10 @@
|
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
143
|
"@arethetypeswrong/cli": "0.18.5",
|
|
144
|
-
"@cedarjs/auth": "6.0.0-canary.
|
|
145
|
-
"@cedarjs/framework-tools": "6.0.0-canary.
|
|
146
|
-
"@cedarjs/router": "6.0.0-canary.
|
|
147
|
-
"@cedarjs/web": "6.0.0-canary.
|
|
144
|
+
"@cedarjs/auth": "6.0.0-canary.2665",
|
|
145
|
+
"@cedarjs/framework-tools": "6.0.0-canary.2665",
|
|
146
|
+
"@cedarjs/router": "6.0.0-canary.2665",
|
|
147
|
+
"@cedarjs/web": "6.0.0-canary.2665",
|
|
148
148
|
"concurrently": "9.2.1",
|
|
149
149
|
"jsdom": "27.4.0",
|
|
150
150
|
"publint": "0.3.21",
|