@ornikar/jest-config-react 12.0.3-canary.654087956758aaf24519780fbd63dcb82fab1bb4.0 → 12.1.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,12 +3,20 @@
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
- ## [12.0.3-canary.654087956758aaf24519780fbd63dcb82fab1bb4.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react@12.0.2...@ornikar/jest-config-react@12.0.3-canary.654087956758aaf24519780fbd63dcb82fab1bb4.0) (2023-11-21)
6
+ ## [12.1.1](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react@12.1.0...@ornikar/jest-config-react@12.1.1) (2023-11-21)
7
+
8
+ **Note:** Version bump only for package @ornikar/jest-config-react
9
+
10
+
11
+
12
+
13
+
14
+ ## [12.1.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react@12.0.2...@ornikar/jest-config-react@12.1.0) (2023-11-21)
7
15
 
8
16
 
9
17
  ### Features
10
18
 
11
- * **jest-config-react-native:** add beforeAll parameter [no issue] ([6540879](https://github.com/ornikar/shared-configs/commit/654087956758aaf24519780fbd63dcb82fab1bb4))
19
+ * **jest-config-react-native:** add beforeAll parameters [no issue] ([#1040](https://github.com/ornikar/shared-configs/issues/1040)) ([5b86741](https://github.com/ornikar/shared-configs/commit/5b86741c35fa4e9e4b40da470498f7d2af5cbe65))
12
20
 
13
21
 
14
22
 
@@ -42,10 +42,6 @@ exports.addDecorator = (decorator) => {
42
42
  // Mocked version of `import { addParameters } from '@storybook/react'`.
43
43
  exports.addParameters = (parameters) => {
44
44
  Object.assign(globalParameters, parameters);
45
-
46
- if (parameters?.jest?.beforeAll) {
47
- parameters.jest.beforeAll();
48
- }
49
45
  };
50
46
 
51
47
  // Mocked version of `import { action } from '@storybook/react'`.
@@ -103,6 +99,11 @@ exports.storiesOf = (groupName) => {
103
99
 
104
100
  addParameters(parameters) {
105
101
  Object.assign(localParameters, parameters);
102
+
103
+ if (parameters?.jest?.beforeAll) {
104
+ parameters.jest.beforeAll();
105
+ }
106
+
106
107
  return api;
107
108
  },
108
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/jest-config-react",
3
- "version": "12.0.3-canary.654087956758aaf24519780fbd63dcb82fab1bb4.0",
3
+ "version": "12.1.1",
4
4
  "description": "✅⚛️ jest config for react",
5
5
  "repository": {
6
6
  "directory": "@ornikar/jest-config-react",
@@ -23,12 +23,12 @@
23
23
  "react-dom": "^18.2.0"
24
24
  },
25
25
  "dependencies": {
26
- "@ornikar/jest-config": "10.1.1-canary.654087956758aaf24519780fbd63dcb82fab1bb4.0",
26
+ "@ornikar/jest-config": "10.1.1",
27
27
  "identity-obj-proxy": "^3.0.0",
28
28
  "jest-fail-on-console": "^3.1.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@testing-library/react": "14.1.0",
31
+ "@testing-library/react": "14.1.2",
32
32
  "jest": "29.7.0",
33
33
  "react": "18.2.0",
34
34
  "react-dom": "18.2.0"