@ornikar/jest-config-react-native 7.1.1 → 7.2.0
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
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [7.2.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@7.1.1...@ornikar/jest-config-react-native@7.2.0) (2022-11-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update config for Jest 27 ONK-4620 ([#821](https://github.com/ornikar/shared-configs/issues/821)) ([4ef02d5](https://github.com/ornikar/shared-configs/commit/4ef02d52ca7127beba853b92695786bf10d4868c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **deps:** update dependency jest-expo to v47 ([#760](https://github.com/ornikar/shared-configs/issues/760)) ([245d774](https://github.com/ornikar/shared-configs/commit/245d774c6b9d29bfa3cfe600a454f00218bb6118))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [7.1.1](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@7.1.0...@ornikar/jest-config-react-native@7.1.1) (2022-11-29)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @ornikar/jest-config-react-native
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/jest-config-react-native",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "✅⚛️📱 jest config for react-native",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/jest-config-react-native",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@testing-library/react-hooks": "^7.0.0",
|
|
20
20
|
"@testing-library/react-native": "^7.2.0 || ^8.0.0 || ^9.0.0",
|
|
21
|
-
"jest
|
|
21
|
+
"jest": "^27.0.0",
|
|
22
|
+
"jest-expo": "^41.0.0 || ^42.0.0 || ^43.0.0 || ^44.0.0 || ^45.0.0 ||^46.0.0 || ^47.0.0",
|
|
22
23
|
"react": "^17.0.0",
|
|
23
24
|
"react-dom": "^17.0.0"
|
|
24
25
|
},
|
|
@@ -28,17 +29,17 @@
|
|
|
28
29
|
}
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@ornikar/jest-config-react": "^10.2.
|
|
32
|
+
"@ornikar/jest-config-react": "^10.2.2",
|
|
32
33
|
"@sucrase/jest-plugin": "^2.2.1"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"@testing-library/react-hooks": "7.0.2",
|
|
36
37
|
"@testing-library/react-native": "9.1.0",
|
|
37
|
-
"jest-expo": "
|
|
38
|
+
"jest-expo": "47.0.1",
|
|
38
39
|
"react": "17.0.2"
|
|
39
40
|
},
|
|
40
41
|
"scripts": {
|
|
41
42
|
"lint:eslint": "yarn ../.. eslint --report-unused-disable-directives --quiet @ornikar/jest-config-react-native"
|
|
42
43
|
},
|
|
43
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "1f148a15b7fab3f5be3782fba6fa41dd0b2d86e0"
|
|
44
45
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
|
-
const babelJest = require('babel-jest');
|
|
4
|
+
const babelJest = require('babel-jest').default;
|
|
5
5
|
|
|
6
6
|
module.exports = babelJest.createTransformer({
|
|
7
7
|
// should be identical to the config in @ornikar/webpack-configs/reactNativeWeb.js
|