Skip to content

Commit 16aedfe

Browse files
author
b
committed
chore(tests): fix issue #5: bug with shallow history state
1 parent 91a5c47 commit 16aedfe

12 files changed

+615
-201
lines changed

.idea/misc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/state-transducer.iml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TODO.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Now
22
// TODO: I now allow initial transitions with multi target states. Check that the state-transducer-testing still works. Maybe add tests for it.
3+
// TODO: features : reset and backtrack and clone fucntions NOT on the function object mais imported (tree-shakeable)
4+
// and going to access values on the machine function object. That's better. Also backtracking only possible if machine has been created with `save history` setting. and backtracking returns a cloned machine, does not update in place. may mean I need a way to clone state, so cloneState should also be in settings, like updateState
35
- DOC: add that no events can be called 'undefined', and add a contract for it
46
- maybe add or pass a settings object to the command handler (passed if needed to command handlers)?
57
- this is for dependency injection - can have effects or commands more testable

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "kingly",
33
"sideEffects": false,
4-
"version": "0.23.1",
4+
"version": "0.24.0",
55
"description": "Extended Hierarchical State Transducer library",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)