@btravstack/testing 0.4.0 → 0.5.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/README.md +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ pnpm add -D @btravstack/testing @btravstack/core @btravstack/config @btravstack/
|
|
|
35
35
|
peer dependencies; the package depends on nothing else — not even `vitest`:
|
|
36
36
|
`bootFixture` is a plain `(ctx, use) => Promise<void>` function, which is
|
|
37
37
|
vitest's fixture protocol, so no import is needed to hand it to `test.extend`.
|
|
38
|
-
Node `>=
|
|
38
|
+
Node `>=22`.
|
|
39
39
|
|
|
40
40
|
## A booted application, as a fixture
|
|
41
41
|
|
package/dist/index.d.cts
CHANGED
|
@@ -167,4 +167,4 @@ type TestRuntime = Runtime<never, TestRuntimeInfo> & {
|
|
|
167
167
|
};
|
|
168
168
|
declare const testRuntime: (name?: string) => TestRuntime;
|
|
169
169
|
//#endregion
|
|
170
|
-
export { type Boot, type
|
|
170
|
+
export { type Boot, type FakeClock, type ServicesOf, type TestRuntime, type TestRuntimeInfo, TestRuntimePort, bootFixture, createFakeClock, overridden, tapped, testRuntime };
|
package/dist/index.d.mts
CHANGED
|
@@ -167,4 +167,4 @@ type TestRuntime = Runtime<never, TestRuntimeInfo> & {
|
|
|
167
167
|
};
|
|
168
168
|
declare const testRuntime: (name?: string) => TestRuntime;
|
|
169
169
|
//#endregion
|
|
170
|
-
export { type Boot, type
|
|
170
|
+
export { type Boot, type FakeClock, type ServicesOf, type TestRuntime, type TestRuntimeInfo, TestRuntimePort, bootFixture, createFakeClock, overridden, tapped, testRuntime };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@btravstack/testing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Test the applications @btravstack/core boots: an in-memory runtime, a fake clock, a boot fixture that stops what it started, and a tap into a running graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dependency-injection",
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
"typescript": "7.0.2",
|
|
53
53
|
"unthrown": "5.7.0",
|
|
54
54
|
"vitest": "4.1.11",
|
|
55
|
-
"@btravstack/
|
|
56
|
-
"@btravstack/
|
|
57
|
-
"@btravstack/
|
|
55
|
+
"@btravstack/config": "0.5.0",
|
|
56
|
+
"@btravstack/core": "0.5.0",
|
|
57
|
+
"@btravstack/di": "0.5.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"unthrown": "^5.0.0",
|
|
61
|
-
"@btravstack/config": "^0.
|
|
62
|
-
"@btravstack/core": "^0.
|
|
63
|
-
"@btravstack/di": "^0.
|
|
61
|
+
"@btravstack/config": "^0.5.0",
|
|
62
|
+
"@btravstack/core": "^0.5.0",
|
|
63
|
+
"@btravstack/di": "^0.5.0"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
|
-
"node": ">=
|
|
66
|
+
"node": ">=22"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "tsdown src/index.ts --format cjs,esm --dts --clean",
|