@open-pioneer/test-utils 4.9.0 → 4.10.0-dev.20261119090001
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 +23 -16
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @open-pioneer/test-utils
|
|
2
2
|
|
|
3
|
+
## 4.10.0-dev.20261119090001
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 57b5b4f: Enable trusted publishing for this package.
|
|
8
|
+
- 93d2a9f: Update dependencies
|
|
9
|
+
|
|
3
10
|
## 4.9.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -69,20 +76,20 @@
|
|
|
69
76
|
- 9fa7f7c: The `createService` helper no longer returns a promise.
|
|
70
77
|
It can now be used in a synchronous fashion (no `await`).
|
|
71
78
|
|
|
72
|
-
|
|
73
|
-
|
|
79
|
+
Note that this change is backwards compatible.
|
|
80
|
+
But if you have been using this function in your code, you can simply remove the `await`.
|
|
74
81
|
|
|
75
|
-
|
|
76
|
-
|
|
82
|
+
It originally returned a promise to support (future) asynchronous initialization of services,
|
|
83
|
+
which has not been implemented and seems not to be needed.
|
|
77
84
|
|
|
78
|
-
|
|
85
|
+
Example:
|
|
79
86
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
87
|
+
```ts
|
|
88
|
+
// In your unit tests:
|
|
89
|
+
import { createService } from "@open-pioneer/test-utils/services";
|
|
83
90
|
|
|
84
|
-
|
|
85
|
-
|
|
91
|
+
const service = createService(MyServiceClass, options);
|
|
92
|
+
```
|
|
86
93
|
|
|
87
94
|
- 1b95a62: Update chakra-ui to 3.28.0
|
|
88
95
|
|
|
@@ -118,13 +125,13 @@
|
|
|
118
125
|
### Major Changes
|
|
119
126
|
|
|
120
127
|
- 9477e54: Update dependencies
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
128
|
+
- React 19
|
|
129
|
+
- Vite 6
|
|
130
|
+
- FormatJS 3
|
|
131
|
+
- Open Pioneer Build Tools
|
|
132
|
+
- ...
|
|
126
133
|
|
|
127
|
-
|
|
134
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
128
135
|
|
|
129
136
|
## 2.4.0
|
|
130
137
|
|
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.10.0-dev.20261119090001",
|
|
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"
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"directory": "src/packages/test-utils"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@chakra-ui/react": "^3.
|
|
17
|
+
"@chakra-ui/react": "^3.38.0",
|
|
18
18
|
"@conterra/reactivity-core": "^0.8.9",
|
|
19
|
-
"@formatjs/intl": "^6.1.
|
|
20
|
-
"@open-pioneer/runtime": "4.
|
|
19
|
+
"@formatjs/intl": "^6.1.5",
|
|
20
|
+
"@open-pioneer/runtime": "4.10.0-dev.20261119090001",
|
|
21
21
|
"@testing-library/dom": "^10.4.2",
|
|
22
22
|
"@testing-library/react": "^16.3.3",
|
|
23
23
|
"react": "^19.3.1",
|