mithril-vndb/test-utils
Kory Nunn 8e7ef427e0
Remove dependance on global window and document (#2897)
* Remove dependance on global window and document

* Use any available document, prioritising parent.ownerDocument

* Fix mockDom for DocumentFragment, revert to better ownerDocument implementation

* Simplify activeElement usage
2024-09-23 04:54:03 -07:00
..
tests Bypass css text (#2811) 2023-01-17 15:04:19 +01: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 Tests use hyperscript instead of manually constructing nodes 2022-02-12 12:19:35 +01:00
domMock.js Remove dependance on global window and document (#2897) 2024-09-23 04:54:03 -07: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
throttleMock.js Deservicify core (#2458) 2019-07-07 18:28:43 -04:00
xhrMock.js Kick jsonp - fixes #2682 2022-06-06 12:56:25 +02:00