Skip to content

Commit

Permalink
Combine @xstate/graph and @xstate/test (#4896)
Browse files Browse the repository at this point in the history
* Remove createTestMachine

* Cleanup

* Move xstate-test files to xstate-graph

* Remove sync methods

* Add adjacencyMapToArray helper

* Changeset

* serializeSnapshot

* adjacencyList -> adjacencyMap

* Refactor dieHard

* Refactoring

* Remove sync test methods

* Cleanup

* Remove filter, stopCondition -> stopWhen

* traversalLimit -> limit

* Input

* allowDuplicatePaths
  • Loading branch information
davidkpiano authored May 23, 2024
1 parent 01cfc0a commit 7c6e2ea
Show file tree
Hide file tree
Showing 40 changed files with 3,177 additions and 787 deletions.
7 changes: 1 addition & 6 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"linked": [],
"access": "public",
"baseBranch": "main",
"ignore": [
"@xstate/immer",
"@xstate/graph",
"@xstate/inspect",
"@xstate/test"
],
"ignore": ["@xstate/immer", "@xstate/inspect", "@xstate/test"],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true,
"useCalculatedVersionForSnapshots": true
Expand Down
5 changes: 5 additions & 0 deletions .changeset/eighty-papayas-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@xstate/graph': patch
---

The `@xstate/graph` package now includes everything from `@xstate/test`.
Loading

0 comments on commit 7c6e2ea

Please sign in to comment.