Commit graph

11 commits

Author SHA1 Message Date
Pat Cavit
36bfc6892b Fix var shadowing infinite loop bug in browsers 2016-05-19 11:52:14 -07:00
Pat Cavit
749ff74bea Test both async types when using router 2016-05-19 11:35:45 -07:00
Pat Cavit
37b0ce20c5 Add missing dependencies 2016-05-19 11:08:26 -07:00
Pat Cavit
282cc5afdd Fix m.route() tests
- Wasn't calling route.prefix(), was assigning to it
- Needed to handle pushstate prefix (`""`) specially in assertions
2016-05-19 10:59:41 -07:00
Pat Cavit
41b24b998a m.route tests should run against all prefixes
Also tests `router.link` now. Had to add a `preventDefault` function to
domMock events that doesn't do anything, that may need a more-complete
implementation someday?
2016-05-19 10:59:41 -07:00
Pat Cavit
89dfd6e97d Remove unused reference 2016-05-19 10:59:41 -07:00
Pat Cavit
ce42adb720 Basic router tests 2016-05-19 10:59:41 -07:00
Pat Cavit
8f7cc0cb11 Stricter 2016-05-19 10:59:41 -07:00
Pat Cavit
fc481ff497 strict all the things 2016-05-19 10:59:41 -07:00
Pat Cavit
0cf509f674 Add forcing support and improve tests
Also verify that we're using tabs, whee.
2016-05-19 10:59:41 -07:00
Pat Cavit
960812308c Move public APIs into their own folder
And start writing actual tests for them
2016-05-19 10:59:41 -07:00