@ornikar/jest-config-react-native 1.3.0 → 2.0.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 CHANGED
@@ -3,6 +3,55 @@
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
+ ## [2.0.1](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@2.0.0...@ornikar/jest-config-react-native@2.0.1) (2021-12-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * downgrade node minimum required version [no issue] ([#595](https://github.com/ornikar/shared-configs/issues/595)) ([9464687](https://github.com/ornikar/shared-configs/commit/9464687f55aed4a2e683f5d3b992300d000a2b30))
12
+
13
+
14
+
15
+
16
+
17
+ # [2.0.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@1.4.1...@ornikar/jest-config-react-native@2.0.0) (2021-12-07)
18
+
19
+
20
+ ### Features
21
+
22
+ * drop node 12 [no issue] ([#584](https://github.com/ornikar/shared-configs/issues/584)) ([e9c00ab](https://github.com/ornikar/shared-configs/commit/e9c00abb5ed3a9c60993b6c652566dd7e71a97e1))
23
+
24
+
25
+ ### BREAKING CHANGES
26
+
27
+ * requires node 14.17 or higher
28
+
29
+
30
+
31
+
32
+
33
+ ## [1.4.1](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@1.4.0...@ornikar/jest-config-react-native@1.4.1) (2021-12-06)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **jest-config-react-native:** use wrapper option in storybook mock [no issue] ([#582](https://github.com/ornikar/shared-configs/issues/582)) ([234fdbb](https://github.com/ornikar/shared-configs/commit/234fdbb301c5e8f56ea2ef9e27623b004d2a9ae0))
39
+
40
+
41
+
42
+
43
+
44
+ # [1.4.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@1.3.0...@ornikar/jest-config-react-native@1.4.0) (2021-12-02)
45
+
46
+
47
+ ### Features
48
+
49
+ * **deps:** update react monorepo to v17 (major) ([#571](https://github.com/ornikar/shared-configs/issues/571)) ([b0aa0b8](https://github.com/ornikar/shared-configs/commit/b0aa0b8138978d6722c8a5ff5374d200f4cdd099))
50
+
51
+
52
+
53
+
54
+
6
55
  # [1.3.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@1.2.0...@ornikar/jest-config-react-native@1.3.0) (2021-12-02)
7
56
 
8
57
 
@@ -70,7 +70,7 @@ exports.storiesOf = (groupName) => {
70
70
  ? undefined
71
71
  : ({ children }) => decorateStory(() => children, [...localDecorators, ...globalDecorators])(context);
72
72
 
73
- const rtlApi = render(React.createElement(WrappingComponent, { children: story(context) }));
73
+ const rtlApi = render(story(context), { wrapper: WrappingComponent });
74
74
  if (waitForExpectation) await waitFor(() => waitForExpectation(rtlApi, expect));
75
75
  expect(rtlApi.toJSON()).toMatchSnapshot();
76
76
  });
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ornikar/jest-config-react-native",
3
- "version": "1.3.0",
3
+ "version": "2.0.1",
4
4
  "description": "jest config",
5
5
  "repository": "ornikar/shared-configs",
6
6
  "main": "jest-preset.js",
7
7
  "license": "ISC",
8
8
  "engines": {
9
- "node": ">=12.13.0"
9
+ "node": ">=14.17.5"
10
10
  },
11
11
  "publishConfig": {
12
12
  "access": "public"
@@ -15,18 +15,18 @@
15
15
  "@testing-library/react-hooks": "^7.0.0",
16
16
  "@testing-library/react-native": "^7.2.0 || ^8.0.0",
17
17
  "jest-expo": "^41.0.0 || ^42.0.0 || ^43.0.0",
18
- "react": "^16.13.0",
19
- "react-dom": "^16.13.0"
18
+ "react": "^17.0.0",
19
+ "react-dom": "^17.0.0"
20
20
  },
21
21
  "dependencies": {
22
- "@ornikar/jest-config": "^6.0.0",
22
+ "@ornikar/jest-config": "^7.0.1",
23
23
  "lodash.mergewith": "4.6.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@testing-library/react-hooks": "7.0.2",
27
27
  "@testing-library/react-native": "8.0.0",
28
28
  "jest-expo": "43.0.1",
29
- "react": "16.13.1"
29
+ "react": "17.0.2"
30
30
  },
31
- "gitHead": "c1973a0e0b576cac2aedc10fce369064ef9e1481"
31
+ "gitHead": "a9187ab9c8c6b13aa175d87ba3083a0049cdd291"
32
32
  }