mithril-vndb/test-utils
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
..
tests cleanup and styling 2016-05-11 11:52:41 -04:00
ajaxMock.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
callAsync.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
domMock.js m.route tests should run against all prefixes 2016-05-19 10:59:41 -07:00
parseURL.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
pushStateMock.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
README.md initial commit (work in progress) 2016-04-20 20:02:37 -04:00

Test utils

Utilities for testing Mithril

Version: 1.0 License: MIT

About

  • pushStateMock - mock for history.pushState and location
  • ajaxMock - mock for XMLHttpRequest and JSONP transporters
  • parseURL - helper function for URL parsing