@ornikar/jest-config-react 12.0.0 → 12.0.2-canary.2843a1d7a7dbe72455f78660208e6dbeaf3abec2.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 +18 -0
- package/__mocks__/@storybook/react.js +4 -1
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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.2-canary.2843a1d7a7dbe72455f78660208e6dbeaf3abec2.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react@12.0.1...@ornikar/jest-config-react@12.0.2-canary.2843a1d7a7dbe72455f78660208e6dbeaf3abec2.0) (2023-11-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **jest-config-react:** await storybook waitFor DR-3508 ([af0993a](https://github.com/ornikar/shared-configs/commit/af0993aaf7d75284774e4ff84c804b0f35f33fe3))
|
|
12
|
+
* temp ([2843a1d](https://github.com/ornikar/shared-configs/commit/2843a1d7a7dbe72455f78660208e6dbeaf3abec2))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [12.0.1](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react@12.0.0...@ornikar/jest-config-react@12.0.1) (2023-10-27)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @ornikar/jest-config-react
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [12.0.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react@11.3.2...@ornikar/jest-config-react@12.0.0) (2023-09-27)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -83,7 +83,10 @@ exports.storiesOf = (groupName) => {
|
|
|
83
83
|
|
|
84
84
|
const rtlApi = render(story(context), { wrapper: wrappingComponent });
|
|
85
85
|
if (waitForExpectation) {
|
|
86
|
-
await waitFor(() =>
|
|
86
|
+
await waitFor(async () => {
|
|
87
|
+
// eslint-disable-next-line no-return-await
|
|
88
|
+
return await waitForExpectation(rtlApi, expect, { parameters });
|
|
89
|
+
});
|
|
87
90
|
}
|
|
88
91
|
expect(rtlApi.asFragment()).toMatchSnapshot();
|
|
89
92
|
rtlApi.unmount();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/jest-config-react",
|
|
3
|
-
"version": "12.0.0",
|
|
3
|
+
"version": "12.0.2-canary.2843a1d7a7dbe72455f78660208e6dbeaf3abec2.0",
|
|
4
4
|
"description": "✅⚛️ jest config for react",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/jest-config-react",
|
|
@@ -23,18 +23,17 @@
|
|
|
23
23
|
"react-dom": "^18.2.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ornikar/jest-config": "10.
|
|
26
|
+
"@ornikar/jest-config": "10.1.0",
|
|
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.
|
|
31
|
+
"@testing-library/react": "14.1.0",
|
|
32
32
|
"jest": "29.6.1",
|
|
33
33
|
"react": "18.2.0",
|
|
34
34
|
"react-dom": "18.2.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"lint:eslint": "yarn ../.. eslint --report-unused-disable-directives --quiet @ornikar/jest-config-react"
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}
|
|
38
|
+
}
|
|
39
|
+
}
|