mithril-vndb/test-utils
Isiah Meadows 234b1c9302 Update migration, fix various minor issues
- Lot of people couldn't migrate to v1 and plan to reevaluate when v2 is
  released.
- It's "npm" not "NPM". It doesn't stand for anything, and it never
  has - it was initially chosen simply because it was easy to type.
  It has a lot of unofficial backronyms with "Node Package Manager"
  being one of the most common ones, but it's never officially stood
  for anything as an acronym *or* initialism.
- Fixed a few errors in the change log, like non-breaking changes being
  included in the "Breaking Changes" section and an inaccuracy in the
  summary of a particular change.
- Fixed RawGit URLs to point to GitHack, which is a lighter proxy that
  offloads caching to Cloudflare instead of also implementing it itself.
  (It also just uses nginx for all the important server logic, so it
  scales better.)
- Add a few more v0.2 references as appropriate
2019-07-24 05:01:20 -04:00
..
tests Deservicify core (#2458) 2019-07-07 18:28:43 -04: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
components.js Chore: Fix lint issues and add indent with tabs 2017-03-11 15:54:41 -06:00
domMock.js Update migration, fix various minor issues 2019-07-24 05:01:20 -04:00
parseURL.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
pushStateMock.js Deduplicate m.route and m.redraw logic (#2453) 2019-07-05 18:52:06 -04:00
README.md Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00
throttleMock.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
xhrMock.js Track XHR replacements correctly (#2455) 2019-07-05 19:50:51 -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