mithril-vndb/test-utils
impinball b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
..
tests Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
callAsync.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
domMock.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
parseURL.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
pushStateMock.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -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