@ornikar/jest-config-react-native 1.2.0 → 2.0.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,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.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)
7
+
8
+
9
+ ### Features
10
+
11
+ * drop node 12 [no issue] ([#584](https://github.com/ornikar/shared-configs/issues/584)) ([e9c00ab](https://github.com/ornikar/shared-configs/commit/e9c00abb5ed3a9c60993b6c652566dd7e71a97e1))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * requires node 14.17 or higher
17
+
18
+
19
+
20
+
21
+
22
+ ## [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)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
33
+ # [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)
34
+
35
+
36
+ ### Features
37
+
38
+ * **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))
39
+
40
+
41
+
42
+
43
+
44
+ # [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)
45
+
46
+
47
+ ### Features
48
+
49
+ * **deps:** update dependency jest-expo to v43 ([#565](https://github.com/ornikar/shared-configs/issues/565)) ([09ba17e](https://github.com/ornikar/shared-configs/commit/09ba17eca1dfecda271d772e0d3d938e080fe0c1))
50
+
51
+
52
+
53
+
54
+
6
55
  # [1.2.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@1.1.0...@ornikar/jest-config-react-native@1.2.0) (2021-11-29)
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.2.0",
3
+ "version": "2.0.0",
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.6"
10
10
  },
11
11
  "publishConfig": {
12
12
  "access": "public"
@@ -14,19 +14,19 @@
14
14
  "peerDependencies": {
15
15
  "@testing-library/react-hooks": "^7.0.0",
16
16
  "@testing-library/react-native": "^7.2.0 || ^8.0.0",
17
- "jest-expo": "^41.0.0",
18
- "react": "^16.13.0",
19
- "react-dom": "^16.13.0"
17
+ "jest-expo": "^41.0.0 || ^42.0.0 || ^43.0.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.0",
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
- "jest-expo": "41.0.0",
29
- "react": "16.13.1"
28
+ "jest-expo": "43.0.1",
29
+ "react": "17.0.2"
30
30
  },
31
- "gitHead": "e9b27357cfc54c45614da929b85995602e760be6"
31
+ "gitHead": "2e424ab4fb1742312586f4c975c937f74109352e"
32
32
  }