mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 11:44:08 +00:00
chore: update eslint, housekeeping
This commit is contained in:
parent
cb52ece4d3
commit
4a07297a13
14 changed files with 554 additions and 619 deletions
|
|
@ -37,6 +37,7 @@ test("tracks dependencies", function()
|
|||
assert(hook.result == 0, "should return 0")
|
||||
state(1)
|
||||
assert(hook.result == 1, "should return 1")
|
||||
|
||||
state = atom(0)
|
||||
hook.rerender()
|
||||
assert(hook.result == 0, "should return 0")
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ test("tracks dependencies", function()
|
|||
assert(hook.result:getValue() == 0, "should return 0")
|
||||
state(1)
|
||||
assert(hook.result:getValue() == 1, "should return 1")
|
||||
|
||||
state = atom(0)
|
||||
hook.rerender()
|
||||
assert(hook.result:getValue() == 0, "should return 0")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue