mithril-vndb/test-utils
2017-01-08 19:30:23 -05:00
..
tests #1520 ospec: report duplicate test names 2017-01-08 13:05:27 -05:00
browserMock.js The browserMock $window must be reachable from the pushStateMock 2016-12-07 17:07:37 +01:00
callAsync.js fix event removal in diff 2016-08-12 22:08:02 -04:00
domMock.js allow dom level 1 events to be removed #1385 2016-11-04 12:33:36 -04:00
parseURL.js initial commit (work in progress) 2016-04-20 20:02:37 -04:00
pushStateMock.js add support for route state #1480 2016-12-17 21:50:04 -05:00
README.md Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
xhrMock.js lint and highlight jsx 2017-01-08 19:30:23 -05: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