mithril-vndb/test-utils
2016-06-02 21:42:18 -04:00
..
tests rename ajaxt o xhr, expose jsonp 2016-05-26 15:22:36 -04:00
callAsync.js fix bugs about recycling in components, and styles when reusing style object 2016-06-02 21:42:18 -04:00
domMock.js more tests 2016-05-24 23:16:43 -04:00
parseURL.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
pushStateMock.js more tests 2016-05-24 23:16:43 -04:00
README.md initial commit (work in progress) 2016-04-20 20:02:37 -04:00
xhrMock.js rename ajaxt o xhr, expose jsonp 2016-05-26 15:22:36 -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