Commit Graph
13 Commits
Author SHA1 Message Date
Ben Drucker 30a228b3e0 Update onError hook test to only expect err argument 2016-07-04 16:19:17 -07:00
Ben Drucker e0783320f7 Add tests and fixes for rehydration
* Barracks must get an initial state or state.location is undefined
* Replaces document.addEventListener w/ pkg handling existing ready doc
2016-07-04 16:19:12 -07:00
Ben Drucker e2f0c5429c Add tests for onError, onAction, and onState hooks from barracks 2016-07-04 08:07:54 -07:00
Ben Drucker 180ea8ae10 Remove all the "should" grammar from tests 2016-07-04 08:07:54 -07:00
Ben Drucker 57030b4e0e Update browser tests for new router fn arguments
See 6407188ee9
2016-07-04 08:07:54 -07:00
Ben Drucker 3fc66acdc3 Add test confirming toString() works with min-document elements 2016-07-04 08:07:54 -07:00
Ben Drucker 0a191566d6 Fix effect test: barracks requires a callback 2016-07-04 08:07:54 -07:00
Yoshua Wuyts 6407188ee9 router: change order of arguments
fixup! freeze state & rename app ns to location
2016-07-02 22:54:35 +02:00
Yoshua Wuyts 9e039ed561 architecture: use barracks
Changes
=======
- add hook handlers
- add effect composition
- add noFreeze option

Commits
=======
- fixup! fix toString()
- fixup! use assert instead of throw
- fixup! fix reducers
- fixup! work on done callbacks
- fixup! more callback work
- fixup! woooh fixed effects errs
- fixup! wrap up stuff
2016-07-02 16:00:26 +02:00
Todd Kennedy 8f8df602c5 Extract html into separate module (#103) 2016-07-02 12:55:41 +02:00
Todd Kennedy 64436a2a80 TEST: Set up for testing via zuul/sauce labs (#86)
This requires the .travis.yml to be updated with the open sauce credentials
as explained at https://github.com/defunctzombie/zuul/wiki/Travis-ci#5-final-step
2016-06-29 08:06:04 -07:00
Yoshua Wuyts 60665f2a71 toString: support rehydration 2016-05-24 02:10:17 +09:00
Yoshua Wuyts a974527bce test: add 2016-05-22 16:58:14 +09:00