@ornikar/jest-config-react-native 7.1.2-alpha.0 → 7.3.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,13 +3,23 @@
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.1.2-alpha.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@7.1.1...@ornikar/jest-config-react-native@7.1.2-alpha.0) (2022-11-30)
6
+ # [7.3.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@7.2.0...@ornikar/jest-config-react-native@7.3.0) (2022-12-16)
7
+
8
+
9
+ ### Features
10
+
11
+ * **jest-config-react:** add storybook mocks [no issue] ([#827](https://github.com/ornikar/shared-configs/issues/827)) ([3ebed2f](https://github.com/ornikar/shared-configs/commit/3ebed2fac66dc585d36712a668c040db294fb0ff))
12
+
13
+
14
+
15
+
16
+
17
+ # [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
18
 
8
19
 
9
20
  ### Bug Fixes
10
21
 
11
- * add missing jest as peer dep ([ad0160f](https://github.com/ornikar/shared-configs/commit/ad0160faa78fab825c532fe57893183b1cf02cad))
12
- * update babel-jest import ([e6d7a02](https://github.com/ornikar/shared-configs/commit/e6d7a02a0ba98530e6cc068a1d146d170c77672d))
22
+ * 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))
13
23
 
14
24
 
15
25
  ### Features
@@ -2,4 +2,4 @@
2
2
 
3
3
  'use strict';
4
4
 
5
- exports.action = () => jest.fn();
5
+ module.exports = require('@ornikar/jest-config-react/__mocks__/@storybook/addon-actions');
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ module.exports = require('@ornikar/jest-config-react/__mocks__/@storybook/addons');
package/jest-preset.js CHANGED
@@ -11,6 +11,7 @@ module.exports = {
11
11
  testMatch: baseOrnikarPreset.testMatch,
12
12
  moduleNameMapper: {
13
13
  ...expoPreset.moduleNameMapper,
14
+ '@storybook/addons': require.resolve('./__mocks__/@storybook/addons'),
14
15
  '^@storybook/addon-actions$': require.resolve('./__mocks__/@storybook/addon-actions.js'),
15
16
  '@storybook/react-native$': require.resolve('./__mocks__/@storybook/react-native.jsx'),
16
17
  '^@storybook/react-native$': require.resolve('./__mocks__/@storybook/react-native.jsx'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/jest-config-react-native",
3
- "version": "7.1.2-alpha.0",
3
+ "version": "7.3.0",
4
4
  "description": "✅⚛️📱 jest config for react-native",
5
5
  "repository": {
6
6
  "directory": "@ornikar/jest-config-react-native",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ornikar/jest-config-react": "^10.2.2-alpha.0",
32
+ "@ornikar/jest-config-react": "^10.3.0",
33
33
  "@sucrase/jest-plugin": "^2.2.1"
34
34
  },
35
35
  "devDependencies": {
@@ -41,5 +41,5 @@
41
41
  "scripts": {
42
42
  "lint:eslint": "yarn ../.. eslint --report-unused-disable-directives --quiet @ornikar/jest-config-react-native"
43
43
  },
44
- "gitHead": "e6d7a02a0ba98530e6cc068a1d146d170c77672d"
44
+ "gitHead": "91a6683bc25b9e7ed7b6fb861e9fc87e477423da"
45
45
  }