@ornikar/jest-config-react 12.0.3-canary.320f5778927956dbdd27ba61cfd4043822380832.0 → 12.0.3-canary.654087956758aaf24519780fbd63dcb82fab1bb4.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 +1 -6
- package/__mocks__/@storybook/react.js +4 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
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)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
@@ -11,11 +11,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
* **jest-config-react-native:** add beforeAll parameter [no issue] ([6540879](https://github.com/ornikar/shared-configs/commit/654087956758aaf24519780fbd63dcb82fab1bb4))
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
### Bug Fixes
|
|
15
|
-
|
|
16
|
-
* beforeAll in stories parameter ([320f577](https://github.com/ornikar/shared-configs/commit/320f5778927956dbdd27ba61cfd4043822380832))
|
|
17
|
-
|
|
18
|
-
|
|
19
14
|
|
|
20
15
|
## [12.0.2](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react@12.0.1...@ornikar/jest-config-react@12.0.2) (2023-11-14)
|
|
21
16
|
|
|
@@ -42,6 +42,10 @@ 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
|
+
}
|
|
45
49
|
};
|
|
46
50
|
|
|
47
51
|
// Mocked version of `import { action } from '@storybook/react'`.
|
|
@@ -99,11 +103,6 @@ exports.storiesOf = (groupName) => {
|
|
|
99
103
|
|
|
100
104
|
addParameters(parameters) {
|
|
101
105
|
Object.assign(localParameters, parameters);
|
|
102
|
-
|
|
103
|
-
if (parameters?.jest?.beforeAll) {
|
|
104
|
-
parameters.jest.beforeAll();
|
|
105
|
-
}
|
|
106
|
-
|
|
107
106
|
return api;
|
|
108
107
|
},
|
|
109
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/jest-config-react",
|
|
3
|
-
"version": "12.0.3-canary.
|
|
3
|
+
"version": "12.0.3-canary.654087956758aaf24519780fbd63dcb82fab1bb4.0",
|
|
4
4
|
"description": "✅⚛️ jest config for react",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/jest-config-react",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ornikar/jest-config": "10.1.1-canary.
|
|
26
|
+
"@ornikar/jest-config": "10.1.1-canary.654087956758aaf24519780fbd63dcb82fab1bb4.0",
|
|
27
27
|
"identity-obj-proxy": "^3.0.0",
|
|
28
28
|
"jest-fail-on-console": "^3.1.1"
|
|
29
29
|
},
|