@cedarjs/testing 5.0.0-canary.2602 → 5.0.0-canary.2605
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/apiBabelConfig.d.ts.map +1 -1
- package/config/jest/api/apiBabelConfig.js +3 -1
- package/config/jest/api/jest-preset.js +1 -1
- package/dist/cjs/config/jest/api/apiBabelConfig.d.ts.map +1 -1
- package/dist/cjs/config/jest/api/apiBabelConfig.js +3 -1
- package/dist/cjs/config/jest/api/jest-preset.js +1 -1
- package/dist/config/jest/api/apiBabelConfig.d.ts.map +1 -1
- package/dist/config/jest/api/apiBabelConfig.js +3 -1
- package/dist/config/jest/api/jest-preset.js +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;AAS9B,KAAK,UAAU,GAAG,IAAI,CACpB,UAAU,CAAC,OAAO,4BAA4B,CAAC,EAC/C,SAAS,CACV,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,UAMb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -22,7 +22,9 @@ __export(apiBabelConfig_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(apiBabelConfig_exports);
|
|
24
24
|
var import_babel_config = require("@cedarjs/babel-config");
|
|
25
|
-
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)(
|
|
25
|
+
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)({
|
|
26
|
+
forJest: true
|
|
27
|
+
});
|
|
26
28
|
const config = {
|
|
27
29
|
...defaultBabelConfig,
|
|
28
30
|
plugins: (0, import_babel_config.getApiSideBabelPlugins)(),
|
|
@@ -36,7 +36,7 @@ var import_babel_config = require("@cedarjs/babel-config");
|
|
|
36
36
|
var import_project_config = require("@cedarjs/project-config");
|
|
37
37
|
const rwjsPaths = (0, import_project_config.getPaths)();
|
|
38
38
|
const NODE_MODULES_PATH = import_node_path.default.join(rwjsPaths.base, "node_modules");
|
|
39
|
-
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)();
|
|
39
|
+
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)({ forJest: true });
|
|
40
40
|
const config = {
|
|
41
41
|
// To make sure other config option which depends on rootDir use
|
|
42
42
|
// correct path, for example, coverageDirectory
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;AAS9B,KAAK,UAAU,GAAG,IAAI,CACpB,UAAU,CAAC,OAAO,4BAA4B,CAAC,EAC/C,SAAS,CACV,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,UAMb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -22,7 +22,9 @@ __export(apiBabelConfig_exports, {
|
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(apiBabelConfig_exports);
|
|
24
24
|
var import_babel_config = require("@cedarjs/babel-config");
|
|
25
|
-
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)(
|
|
25
|
+
const { babelrc: _b, ...defaultBabelConfig } = (0, import_babel_config.getApiSideDefaultBabelConfig)({
|
|
26
|
+
forJest: true
|
|
27
|
+
});
|
|
26
28
|
const config = {
|
|
27
29
|
...defaultBabelConfig,
|
|
28
30
|
plugins: (0, import_babel_config.getApiSideBabelPlugins)(),
|
|
@@ -36,7 +36,7 @@ var import_babel_config = require("@cedarjs/babel-config");
|
|
|
36
36
|
var import_project_config = require("@cedarjs/project-config");
|
|
37
37
|
const rwjsPaths = (0, import_project_config.getPaths)();
|
|
38
38
|
const NODE_MODULES_PATH = import_node_path.default.join(rwjsPaths.base, "node_modules");
|
|
39
|
-
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)();
|
|
39
|
+
const { babelrc } = (0, import_babel_config.getApiSideDefaultBabelConfig)({ forJest: true });
|
|
40
40
|
const config = {
|
|
41
41
|
// To make sure other config option which depends on rootDir use
|
|
42
42
|
// correct path, for example, coverageDirectory
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"apiBabelConfig.d.ts","sourceRoot":"","sources":["../../../../src/config/jest/api/apiBabelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAG7B,MAAM,uBAAuB,CAAA;AAS9B,KAAK,UAAU,GAAG,IAAI,CACpB,UAAU,CAAC,OAAO,4BAA4B,CAAC,EAC/C,SAAS,CACV,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,UAMb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -3,7 +3,9 @@ import {
|
|
|
3
3
|
getApiSideBabelPresets,
|
|
4
4
|
getApiSideBabelPlugins
|
|
5
5
|
} from "@cedarjs/babel-config";
|
|
6
|
-
const { babelrc: _b, ...defaultBabelConfig } = getApiSideDefaultBabelConfig(
|
|
6
|
+
const { babelrc: _b, ...defaultBabelConfig } = getApiSideDefaultBabelConfig({
|
|
7
|
+
forJest: true
|
|
8
|
+
});
|
|
7
9
|
const config = {
|
|
8
10
|
...defaultBabelConfig,
|
|
9
11
|
plugins: getApiSideBabelPlugins(),
|
|
@@ -3,7 +3,7 @@ import { getApiSideDefaultBabelConfig } from "@cedarjs/babel-config";
|
|
|
3
3
|
import { getPaths } from "@cedarjs/project-config";
|
|
4
4
|
const rwjsPaths = getPaths();
|
|
5
5
|
const NODE_MODULES_PATH = path.join(rwjsPaths.base, "node_modules");
|
|
6
|
-
const { babelrc } = getApiSideDefaultBabelConfig();
|
|
6
|
+
const { babelrc } = getApiSideDefaultBabelConfig({ forJest: true });
|
|
7
7
|
const config = {
|
|
8
8
|
// To make sure other config option which depends on rootDir use
|
|
9
9
|
// correct path, for example, coverageDirectory
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/testing",
|
|
3
|
-
"version": "5.0.0-canary.
|
|
3
|
+
"version": "5.0.0-canary.2605",
|
|
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": "5.0.0-canary.
|
|
120
|
-
"@cedarjs/context": "5.0.0-canary.
|
|
121
|
-
"@cedarjs/graphql-server": "5.0.0-canary.
|
|
122
|
-
"@cedarjs/project-config": "5.0.0-canary.
|
|
119
|
+
"@cedarjs/babel-config": "5.0.0-canary.2605",
|
|
120
|
+
"@cedarjs/context": "5.0.0-canary.2605",
|
|
121
|
+
"@cedarjs/graphql-server": "5.0.0-canary.2605",
|
|
122
|
+
"@cedarjs/project-config": "5.0.0-canary.2605",
|
|
123
123
|
"@testing-library/jest-dom": "6.9.1",
|
|
124
124
|
"@testing-library/react": "14.3.1",
|
|
125
125
|
"@testing-library/user-event": "14.6.1",
|
|
@@ -140,10 +140,10 @@
|
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@arethetypeswrong/cli": "0.18.4",
|
|
143
|
-
"@cedarjs/auth": "5.0.0-canary.
|
|
144
|
-
"@cedarjs/framework-tools": "5.0.0-canary.
|
|
145
|
-
"@cedarjs/router": "5.0.0-canary.
|
|
146
|
-
"@cedarjs/web": "5.0.0-canary.
|
|
143
|
+
"@cedarjs/auth": "5.0.0-canary.2605",
|
|
144
|
+
"@cedarjs/framework-tools": "5.0.0-canary.2605",
|
|
145
|
+
"@cedarjs/router": "5.0.0-canary.2605",
|
|
146
|
+
"@cedarjs/web": "5.0.0-canary.2605",
|
|
147
147
|
"concurrently": "9.2.1",
|
|
148
148
|
"jsdom": "27.4.0",
|
|
149
149
|
"publint": "0.3.21",
|