@open-pioneer/test-utils 4.9.0-dev.20261029090037 → 4.9.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 +17 -17
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @open-pioneer/test-utils
|
|
2
2
|
|
|
3
|
-
## 4.9.0
|
|
3
|
+
## 4.9.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -69,20 +69,20 @@
|
|
|
69
69
|
- 9fa7f7c: The `createService` helper no longer returns a promise.
|
|
70
70
|
It can now be used in a synchronous fashion (no `await`).
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
Note that this change is backwards compatible.
|
|
73
|
+
But if you have been using this function in your code, you can simply remove the `await`.
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
It originally returned a promise to support (future) asynchronous initialization of services,
|
|
76
|
+
which has not been implemented and seems not to be needed.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
Example:
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
```ts
|
|
81
|
+
// In your unit tests:
|
|
82
|
+
import { createService } from "@open-pioneer/test-utils/services";
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
const service = createService(MyServiceClass, options);
|
|
85
|
+
```
|
|
86
86
|
|
|
87
87
|
- 1b95a62: Update chakra-ui to 3.28.0
|
|
88
88
|
|
|
@@ -118,13 +118,13 @@
|
|
|
118
118
|
### Major Changes
|
|
119
119
|
|
|
120
120
|
- 9477e54: Update dependencies
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
- React 19
|
|
122
|
+
- Vite 6
|
|
123
|
+
- FormatJS 3
|
|
124
|
+
- Open Pioneer Build Tools
|
|
125
|
+
- ...
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
128
128
|
|
|
129
129
|
## 2.4.0
|
|
130
130
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/test-utils",
|
|
4
|
-
"version": "4.9.0
|
|
4
|
+
"version": "4.9.0",
|
|
5
5
|
"description": "Contains test utilities that make it easier to test parts of an Open Pioneer Trails application.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@chakra-ui/react": "^3.37.0",
|
|
18
18
|
"@conterra/reactivity-core": "^0.8.9",
|
|
19
19
|
"@formatjs/intl": "^6.1.4",
|
|
20
|
-
"@open-pioneer/runtime": "4.9.0
|
|
20
|
+
"@open-pioneer/runtime": "4.9.0",
|
|
21
21
|
"@testing-library/dom": "^10.4.2",
|
|
22
22
|
"@testing-library/react": "^16.3.3",
|
|
23
23
|
"react": "^19.3.1",
|