mithril-vndb/test-utils
2016-09-23 10:31:33 -04:00
..
tests improved bundler, handle width/height atts 2016-09-23 10:31:33 -04:00
browserMock.js m.fragment docs 2016-08-24 00:26:15 -04:00
callAsync.js fix event removal in diff 2016-08-12 22:08:02 -04:00
domMock.js improved bundler, handle width/height atts 2016-09-23 10:31:33 -04:00
parseURL.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
pushStateMock.js test router using file protocol as start point 2016-08-02 23:21:13 -04:00
README.md Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
xhrMock.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -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