mithril-vndb/test-utils/tests
Pierre-Yves Gérardy 60e8f307f1 Fix state initialization (#1652)
* Add test-utils/components.js and its tests

* Tests: group together tests with/without components

* Tests: factory => closure components

* Tests: add dummy forEach blocks around sections with components

* Tests: render/test-components tweaks

* Tests: Wrap some component definitions in `createComponent()` calls

These are the ones that would have been tedious to automate.
jscodeshift will handle the remaining ones

* Tests: wrap the rest of the components definitions

* Tests: enable the three kind of components in all related files but api/tests/test-route.js

* Add test-utils/components.js to index.html where needed

* Tests: Some more render/tests/test-component.js refactoring

* Tests: enable tests for #1638

* fix #1638

* Test: ensure that recycled components get a fresh state

* Tests: add a test for onbeforeupdate and recycled nodes

* Fix recycled components initialization
fix #1641
2017-02-25 15:53:51 -05:00
..
index.html Fix state initialization (#1652) 2017-02-25 15:53:51 -05:00
test-browserMock.js Add a short browserMock test suite 2016-12-07 17:07:37 +01:00
test-callAsync.js Make callAsync a little less flaky 2016-08-03 07:21:15 -04:00
test-components.js Fix state initialization (#1652) 2017-02-25 15:53:51 -05:00
test-domMock.js allow dom level 1 events to be removed #1385 2016-11-04 12:33:36 -04:00
test-parseURL.js #1520 ospec: report duplicate test names 2017-01-08 13:05:27 -05:00
test-pushStateMock.js #1520 ospec: report duplicate test names 2017-01-08 13:05:27 -05:00
test-xhrMock.js Add editorconfig, resolve differences 2016-06-18 03:22:12 -04:00