@open-pioneer/test-utils 4.7.0-dev.20260727091735 → 4.7.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 -18
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @open-pioneer/test-utils
|
|
2
2
|
|
|
3
|
-
## 4.7.0
|
|
3
|
+
## 4.7.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
|
-
- 9d84f1e: Migrated from eslint to oxlint.
|
|
11
|
+
- 9d84f1e: Migrated from eslint to oxlint and from prettier to oxfmt.
|
|
12
12
|
|
|
13
13
|
## 4.6.0
|
|
14
14
|
|
|
@@ -46,20 +46,20 @@
|
|
|
46
46
|
- 9fa7f7c: The `createService` helper no longer returns a promise.
|
|
47
47
|
It can now be used in a synchronous fashion (no `await`).
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
Note that this change is backwards compatible.
|
|
50
|
+
But if you have been using this function in your code, you can simply remove the `await`.
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
It originally returned a promise to support (future) asynchronous initialization of services,
|
|
53
|
+
which has not been implemented and seems not to be needed.
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Example:
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
```ts
|
|
58
|
+
// In your unit tests:
|
|
59
|
+
import { createService } from "@open-pioneer/test-utils/services";
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
const service = createService(MyServiceClass, options);
|
|
62
|
+
```
|
|
63
63
|
|
|
64
64
|
- 1b95a62: Update chakra-ui to 3.28.0
|
|
65
65
|
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
### Major Changes
|
|
96
96
|
|
|
97
97
|
- 9477e54: Update dependencies
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
- React 19
|
|
99
|
+
- Vite 6
|
|
100
|
+
- FormatJS 3
|
|
101
|
+
- Open Pioneer Build Tools
|
|
102
|
+
- ...
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
105
105
|
|
|
106
106
|
## 2.4.0
|
|
107
107
|
|
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.0
|
|
4
|
+
"version": "4.7.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"
|
|
@@ -20,7 +20,7 @@
|
|
|
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.0
|
|
23
|
+
"@open-pioneer/runtime": "4.7.0"
|
|
24
24
|
},
|
|
25
25
|
"exports": {
|
|
26
26
|
"./package.json": "./package.json",
|