@cedarjs/testing 0.8.0 → 0.8.1-next.4
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/api/jest-preset.d.ts.map +1 -1
- package/config/jest/api/jest-preset.js +3 -1
- package/config/jest/web/jest-preset.d.ts.map +1 -1
- package/config/jest/web/jest-preset.js +3 -1
- package/dist/cjs/config/jest/api/jest-preset.d.ts.map +1 -1
- package/dist/cjs/config/jest/api/jest-preset.js +3 -1
- package/dist/cjs/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/cjs/config/jest/web/jest-preset.js +3 -1
- package/dist/config/jest/api/jest-preset.d.ts.map +1 -1
- package/dist/config/jest/api/jest-preset.js +3 -1
- package/dist/config/jest/web/jest-preset.d.ts.map +1 -1
- package/dist/config/jest/web/jest-preset.js +3 -1
- package/package.json +13 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AASlC,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AASlC,QAAA,MAAM,MAAM,EAAE,MAyDb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -76,7 +76,9 @@ const config = {
|
|
|
76
76
|
moduleNameMapper: {
|
|
77
77
|
// @NOTE: Import @cedarjs/testing in api tests, and it automatically remaps to the api side only
|
|
78
78
|
// This is to prevent web stuff leaking into api, and vice versa
|
|
79
|
-
"^@cedarjs/testing$": import_node_path.default.join(NODE_MODULES_PATH, "@cedarjs/testing/api")
|
|
79
|
+
"^@cedarjs/testing$": import_node_path.default.join(NODE_MODULES_PATH, "@cedarjs/testing/api"),
|
|
80
|
+
// Support for importing files with extensions (like you'd do in ESM projects)
|
|
81
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
80
82
|
},
|
|
81
83
|
transform: {
|
|
82
84
|
"\\.[jt]sx?$": [
|
|
@@ -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,MAkFb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -99,7 +99,9 @@ const config = {
|
|
|
99
99
|
/**
|
|
100
100
|
* Mock out files that aren't particularly useful in tests. See fileMock.js for more info.
|
|
101
101
|
*/
|
|
102
|
-
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css)$": "@cedarjs/testing/dist/cjs/web/fileMock.js"
|
|
102
|
+
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css)$": "@cedarjs/testing/dist/cjs/web/fileMock.js",
|
|
103
|
+
// Support for importing files with extensions (like you'd do in ESM projects)
|
|
104
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
103
105
|
},
|
|
104
106
|
transform: {
|
|
105
107
|
"\\.[jt]sx?$": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AASlC,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AASlC,QAAA,MAAM,MAAM,EAAE,MAyDb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -76,7 +76,9 @@ const config = {
|
|
|
76
76
|
moduleNameMapper: {
|
|
77
77
|
// @NOTE: Import @cedarjs/testing in api tests, and it automatically remaps to the api side only
|
|
78
78
|
// This is to prevent web stuff leaking into api, and vice versa
|
|
79
|
-
"^@cedarjs/testing$": import_node_path.default.join(NODE_MODULES_PATH, "@cedarjs/testing/api")
|
|
79
|
+
"^@cedarjs/testing$": import_node_path.default.join(NODE_MODULES_PATH, "@cedarjs/testing/api"),
|
|
80
|
+
// Support for importing files with extensions (like you'd do in ESM projects)
|
|
81
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
80
82
|
},
|
|
81
83
|
transform: {
|
|
82
84
|
"\\.[jt]sx?$": [
|
|
@@ -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,MAkFb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -99,7 +99,9 @@ const config = {
|
|
|
99
99
|
/**
|
|
100
100
|
* Mock out files that aren't particularly useful in tests. See fileMock.js for more info.
|
|
101
101
|
*/
|
|
102
|
-
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css)$": "@cedarjs/testing/dist/cjs/web/fileMock.js"
|
|
102
|
+
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css)$": "@cedarjs/testing/dist/cjs/web/fileMock.js",
|
|
103
|
+
// Support for importing files with extensions (like you'd do in ESM projects)
|
|
104
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
103
105
|
},
|
|
104
106
|
transform: {
|
|
105
107
|
"\\.[jt]sx?$": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AASlC,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"jest-preset.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/jest-preset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AASlC,QAAA,MAAM,MAAM,EAAE,MAyDb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -43,7 +43,9 @@ const config = {
|
|
|
43
43
|
moduleNameMapper: {
|
|
44
44
|
// @NOTE: Import @cedarjs/testing in api tests, and it automatically remaps to the api side only
|
|
45
45
|
// This is to prevent web stuff leaking into api, and vice versa
|
|
46
|
-
"^@cedarjs/testing$": path.join(NODE_MODULES_PATH, "@cedarjs/testing/api")
|
|
46
|
+
"^@cedarjs/testing$": path.join(NODE_MODULES_PATH, "@cedarjs/testing/api"),
|
|
47
|
+
// Support for importing files with extensions (like you'd do in ESM projects)
|
|
48
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
47
49
|
},
|
|
48
50
|
transform: {
|
|
49
51
|
"\\.[jt]sx?$": [
|
|
@@ -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,MAkFb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -66,7 +66,9 @@ const config = {
|
|
|
66
66
|
/**
|
|
67
67
|
* Mock out files that aren't particularly useful in tests. See fileMock.js for more info.
|
|
68
68
|
*/
|
|
69
|
-
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css)$": "@cedarjs/testing/dist/cjs/web/fileMock.js"
|
|
69
|
+
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css)$": "@cedarjs/testing/dist/cjs/web/fileMock.js",
|
|
70
|
+
// Support for importing files with extensions (like you'd do in ESM projects)
|
|
71
|
+
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
70
72
|
},
|
|
71
73
|
transform: {
|
|
72
74
|
"\\.[jt]sx?$": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/testing",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1-next.4+ddcc18ccc",
|
|
4
4
|
"description": "Tools, wrappers and configuration for testing a CedarJS project.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -104,6 +104,9 @@
|
|
|
104
104
|
},
|
|
105
105
|
"files": [
|
|
106
106
|
"config",
|
|
107
|
+
"web",
|
|
108
|
+
"api",
|
|
109
|
+
"cache",
|
|
107
110
|
"dist"
|
|
108
111
|
],
|
|
109
112
|
"scripts": {
|
|
@@ -119,13 +122,13 @@
|
|
|
119
122
|
"test:watch": "vitest watch"
|
|
120
123
|
},
|
|
121
124
|
"dependencies": {
|
|
122
|
-
"@cedarjs/auth": "0.8.
|
|
123
|
-
"@cedarjs/babel-config": "0.8.
|
|
124
|
-
"@cedarjs/context": "0.8.
|
|
125
|
-
"@cedarjs/graphql-server": "0.8.
|
|
126
|
-
"@cedarjs/project-config": "0.8.
|
|
127
|
-
"@cedarjs/router": "0.8.
|
|
128
|
-
"@cedarjs/web": "0.8.
|
|
125
|
+
"@cedarjs/auth": "0.8.1-next.4+ddcc18ccc",
|
|
126
|
+
"@cedarjs/babel-config": "0.8.1-next.4+ddcc18ccc",
|
|
127
|
+
"@cedarjs/context": "0.8.1-next.4+ddcc18ccc",
|
|
128
|
+
"@cedarjs/graphql-server": "0.8.1-next.4+ddcc18ccc",
|
|
129
|
+
"@cedarjs/project-config": "0.8.1-next.4+ddcc18ccc",
|
|
130
|
+
"@cedarjs/router": "0.8.1-next.4+ddcc18ccc",
|
|
131
|
+
"@cedarjs/web": "0.8.1-next.4+ddcc18ccc",
|
|
129
132
|
"@testing-library/jest-dom": "6.5.0",
|
|
130
133
|
"@testing-library/react": "14.3.1",
|
|
131
134
|
"@testing-library/user-event": "14.5.2",
|
|
@@ -144,7 +147,7 @@
|
|
|
144
147
|
"whatwg-fetch": "3.6.20"
|
|
145
148
|
},
|
|
146
149
|
"devDependencies": {
|
|
147
|
-
"@cedarjs/framework-tools": "0.8.
|
|
150
|
+
"@cedarjs/framework-tools": "0.8.1-next.4",
|
|
148
151
|
"concurrently": "8.2.2",
|
|
149
152
|
"jsdom": "24.1.3",
|
|
150
153
|
"publint": "0.3.12",
|
|
@@ -163,5 +166,5 @@
|
|
|
163
166
|
"publishConfig": {
|
|
164
167
|
"access": "public"
|
|
165
168
|
},
|
|
166
|
-
"gitHead": "
|
|
169
|
+
"gitHead": "ddcc18ccc5833d100ce0c5f69eff50407894e101"
|
|
167
170
|
}
|