@commercetools-frontend/jest-preset-mc-app 22.3.0 → 22.3.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/CHANGELOG.md +11 -0
- package/package.json +2 -2
- package/setup-test-framework.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @commercetools-frontend/jest-preset-mc-app
|
|
2
2
|
|
|
3
|
+
## 22.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3112](https://github.com/commercetools/merchant-center-application-kit/pull/3112) [`9eb27a31e`](https://github.com/commercetools/merchant-center-application-kit/commit/9eb27a31e96c6648fb8f5c4127493b3098b63342) Thanks [@ahmehri](https://github.com/ahmehri)! - Adds support for `process.env.CI` being `undefined`
|
|
8
|
+
|
|
9
|
+
This fixes an issue introduced in #3086 when `process.env.CI` is evaluated to `undefined`.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @commercetools-frontend/babel-preset-mc-app@22.3.1
|
|
13
|
+
|
|
3
14
|
## 22.3.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/jest-preset-mc-app",
|
|
3
|
-
"version": "22.3.
|
|
3
|
+
"version": "22.3.1",
|
|
4
4
|
"description": "Jest preset used by a MC application",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"module": "./jest-preset.js",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@babel/core": "^7.20.12",
|
|
26
|
-
"@commercetools-frontend/babel-preset-mc-app": "22.3.
|
|
26
|
+
"@commercetools-frontend/babel-preset-mc-app": "22.3.1",
|
|
27
27
|
"@formatjs/intl-getcanonicallocales": "^2.1.0",
|
|
28
28
|
"@formatjs/intl-listformat": "^7.1.9",
|
|
29
29
|
"@formatjs/intl-locale": "^3.1.1",
|
package/setup-test-framework.js
CHANGED
|
@@ -65,10 +65,10 @@ function shouldNotThrowWarnings(...messages) {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
failOnConsole({
|
|
68
|
-
shouldFailOnLog: process.env.CI,
|
|
69
|
-
shouldFailOnInfo: process.env.CI,
|
|
70
|
-
shouldFailOnWarn: process.env.CI,
|
|
71
|
-
shouldFailOnError: process.env.CI,
|
|
68
|
+
shouldFailOnLog: Boolean(process.env.CI),
|
|
69
|
+
shouldFailOnInfo: Boolean(process.env.CI),
|
|
70
|
+
shouldFailOnWarn: Boolean(process.env.CI),
|
|
71
|
+
shouldFailOnError: Boolean(process.env.CI),
|
|
72
72
|
silenceMessage: (message) => {
|
|
73
73
|
if (!process.env.CI) {
|
|
74
74
|
return false;
|