@open-pioneer/test-utils 4.8.0 → 4.9.0-dev.20260930055642
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 -16
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @open-pioneer/test-utils
|
|
2
2
|
|
|
3
|
+
## 4.9.0-dev.20260930055642
|
|
4
|
+
|
|
3
5
|
## 4.8.0
|
|
4
6
|
|
|
5
7
|
### Minor Changes
|
|
@@ -56,20 +58,20 @@
|
|
|
56
58
|
- 9fa7f7c: The `createService` helper no longer returns a promise.
|
|
57
59
|
It can now be used in a synchronous fashion (no `await`).
|
|
58
60
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
Note that this change is backwards compatible.
|
|
62
|
+
But if you have been using this function in your code, you can simply remove the `await`.
|
|
61
63
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
It originally returned a promise to support (future) asynchronous initialization of services,
|
|
65
|
+
which has not been implemented and seems not to be needed.
|
|
64
66
|
|
|
65
|
-
|
|
67
|
+
Example:
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
```ts
|
|
70
|
+
// In your unit tests:
|
|
71
|
+
import { createService } from "@open-pioneer/test-utils/services";
|
|
70
72
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
const service = createService(MyServiceClass, options);
|
|
74
|
+
```
|
|
73
75
|
|
|
74
76
|
- 1b95a62: Update chakra-ui to 3.28.0
|
|
75
77
|
|
|
@@ -105,13 +107,13 @@
|
|
|
105
107
|
### Major Changes
|
|
106
108
|
|
|
107
109
|
- 9477e54: Update dependencies
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
- React 19
|
|
111
|
+
- Vite 6
|
|
112
|
+
- FormatJS 3
|
|
113
|
+
- Open Pioneer Build Tools
|
|
114
|
+
- ...
|
|
113
115
|
|
|
114
|
-
|
|
116
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
115
117
|
|
|
116
118
|
## 2.4.0
|
|
117
119
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/test-utils",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.9.0-dev.20260930055642",
|
|
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"
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@conterra/reactivity-core": "^0.8.8",
|
|
18
|
-
"@formatjs/intl": "^
|
|
19
|
-
"@open-pioneer/runtime": "4.
|
|
20
|
-
"@testing-library/dom": "^10.4.
|
|
18
|
+
"@formatjs/intl": "^6.1.2",
|
|
19
|
+
"@open-pioneer/runtime": "4.9.0-dev.20260930055642",
|
|
20
|
+
"@testing-library/dom": "^10.4.2",
|
|
21
21
|
"@testing-library/react": "^16.3.3",
|
|
22
22
|
"react": "^19.3.0",
|
|
23
23
|
"react-dom": "^19.3.0"
|