mithril-vndb/test-utils
2016-05-06 10:11:31 -04:00
..
tests support all events 2016-05-06 10:11:31 -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 support all events 2016-05-06 10:11:31 -04: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