@mantaq/test 0.0.1 → 0.0.2
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/dist/index.d.mts +2 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -43,7 +43,7 @@ interface TestHarness {
|
|
|
43
43
|
assertStateNeverVisited(stateName: string): void;
|
|
44
44
|
assertTransitionVisited(from: string, event: string): void;
|
|
45
45
|
assertTransitionNeverVisited(from: string, event: string): void;
|
|
46
|
-
assertContextNever(predicate: (
|
|
46
|
+
assertContextNever(predicate: (context: unknown) => boolean): void;
|
|
47
47
|
assertEffectRan(stateName: string): void;
|
|
48
48
|
assertEffectNeverRan(stateName: string): void;
|
|
49
49
|
assertReachedState(stateName: string): void;
|
|
@@ -67,7 +67,7 @@ declare function assertStateVisited(history: History, stateName: string): void;
|
|
|
67
67
|
declare function assertStateNeverVisited(history: History, stateName: string): void;
|
|
68
68
|
declare function assertTransitionVisited(history: History, from: string, event: string): void;
|
|
69
69
|
declare function assertTransitionNeverVisited(history: History, from: string, event: string): void;
|
|
70
|
-
declare function assertContextNever(actor: AnyActor, predicate: (
|
|
70
|
+
declare function assertContextNever(actor: AnyActor, predicate: (context: unknown) => boolean): void;
|
|
71
71
|
declare function assertEffectRan(history: History, stateName: string): void;
|
|
72
72
|
declare function assertEffectNeverRan(history: History, stateName: string): void;
|
|
73
73
|
declare function assertReachedState(history: History, stateName: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantaq/test",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Test harness and assertion utilities for verifying mantaq actor behavior.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@mantaq/core": "0.0.
|
|
24
|
-
"@mantaq/traversal": "0.0.
|
|
23
|
+
"@mantaq/core": "0.0.2",
|
|
24
|
+
"@mantaq/traversal": "0.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^26.2.0",
|