mithril-vndb/test-utils/tests
Isiah Meadows 1f4b2cf49a
Deservicify core (#2458)
* De-servicify router (mostly)

Still uses the redraw service, but it no longer has an intermediate
service of its own.

Also, did a *lot* of test deduplication in this. About 30-40% of the
router service tests were already tested on the main router API instance
itself.

Bundle size decreased from 9560 to 9548 bytes min+gzip.

* Merge `m.mount` + `m.redraw`, update router

Simplifies the router and redraw mechanism, and makes it much easier to
keep predictable.

Bundle size down to 9433 bytes min+gzip, docs updated accordingly.

* Make `mithril/render` just return the `m.render` function directly.

* Deservicify `m.render`, revise `m.route`

- You now have to use `mithril/render/render` directly if you want an
  implicit redraw function. (This will likely be going away in v3.)
- Revise `m.route` to only `key` components

* Add `redraw` to `m.render`, deservicify requests

* Test error logging

* Update docs + changelog [skip ci]
2019-07-07 18:28:43 -04:00
..
index.html Correct test scripts 2017-12-30 04:44:00 -05:00
test-browserMock.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
test-callAsync.js Make callAsync a little less flaky 2016-08-03 07:21:15 -04:00
test-components.js Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
test-domMock.js Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
test-parseURL.js Clarify pathname docs, follow spec with fragments (#2448) 2019-07-03 06:22:25 -04:00
test-pushStateMock.js [mocks] make location.onhashchange debounced async 2017-04-01 16:48:22 +02:00
test-throttleMock.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
test-xhrMock.js Track XHR replacements correctly (#2455) 2019-07-05 19:50:51 -04:00