Commit Graph
3 Commits
Author SHA1 Message Date
Ben Drucker e3f715f71b Clean up all DOM nodes when tests end
As the test suite grows it's bad for debugging to leak tons of elements
onto document.body. In order to concisely append/remove on the tests'
"end" event, we need to make sure the root tagName doesn't change. If it
does, the `tree` returned from `app.start` will no longer be the root
node and the removal fn will throw.
2016-07-04 16:19:17 -07:00
Ben Drucker 30a228b3e0 Update onError hook test to only expect err argument 2016-07-04 16:19:17 -07:00
Ben Drucker e2f0c5429c Add tests for onError, onAction, and onState hooks from barracks 2016-07-04 08:07:54 -07:00