mithril-vndb/test-utils
Leo Horie ec07d76fcd m.fragment docs
public api tests
2016-08-24 00:26:15 -04:00
..
tests Fix the domMock cssText implementation 2016-08-11 17:53:01 +02: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 Remove an unused variable 2016-08-11 21:21:17 +02: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