@open-pioneer/test-utils 4.7.0 → 4.7.1-dev-test-snapshot.20260821120534
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 +22 -16
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/test-utils
|
|
2
2
|
|
|
3
|
+
## 4.7.1-dev-test-snapshot.20260821120534
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7d5283e: Updated dependencies.
|
|
8
|
+
|
|
3
9
|
## 4.7.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -46,20 +52,20 @@
|
|
|
46
52
|
- 9fa7f7c: The `createService` helper no longer returns a promise.
|
|
47
53
|
It can now be used in a synchronous fashion (no `await`).
|
|
48
54
|
|
|
49
|
-
|
|
50
|
-
|
|
55
|
+
Note that this change is backwards compatible.
|
|
56
|
+
But if you have been using this function in your code, you can simply remove the `await`.
|
|
51
57
|
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
It originally returned a promise to support (future) asynchronous initialization of services,
|
|
59
|
+
which has not been implemented and seems not to be needed.
|
|
54
60
|
|
|
55
|
-
|
|
61
|
+
Example:
|
|
56
62
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
```ts
|
|
64
|
+
// In your unit tests:
|
|
65
|
+
import { createService } from "@open-pioneer/test-utils/services";
|
|
60
66
|
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
const service = createService(MyServiceClass, options);
|
|
68
|
+
```
|
|
63
69
|
|
|
64
70
|
- 1b95a62: Update chakra-ui to 3.28.0
|
|
65
71
|
|
|
@@ -95,13 +101,13 @@
|
|
|
95
101
|
### Major Changes
|
|
96
102
|
|
|
97
103
|
- 9477e54: Update dependencies
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
- React 19
|
|
105
|
+
- Vite 6
|
|
106
|
+
- FormatJS 3
|
|
107
|
+
- Open Pioneer Build Tools
|
|
108
|
+
- ...
|
|
103
109
|
|
|
104
|
-
|
|
110
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
105
111
|
|
|
106
112
|
## 2.4.0
|
|
107
113
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/test-utils",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.1-dev-test-snapshot.20260821120534",
|
|
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,12 +15,16 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@conterra/reactivity-core": "^0.8.6",
|
|
18
|
-
"@formatjs/intl": "^4.1.
|
|
18
|
+
"@formatjs/intl": "^4.1.18",
|
|
19
19
|
"@testing-library/dom": "^10.4.1",
|
|
20
20
|
"@testing-library/react": "^16.3.2",
|
|
21
21
|
"react": "^19.2.8",
|
|
22
22
|
"react-dom": "^19.2.8",
|
|
23
|
-
"@open-pioneer/runtime": "4.7.
|
|
23
|
+
"@open-pioneer/runtime": "4.7.1-dev-test-snapshot.20260821120534"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"directory": "dist",
|
|
27
|
+
"linkDirectory": false
|
|
24
28
|
},
|
|
25
29
|
"exports": {
|
|
26
30
|
"./package.json": "./package.json",
|