Closed dancespiele closed 6 years ago
Thanks, @dancespiele. Did you take these tests from Hyperapp? Since the lifecycle events are essentially the same as in Hyperapp, I want to copy the tests from Hyperapp to avoid having to maintain two different implementations of the tests.
the unique thing that I changed for adapting to the new patch was beforeEach
beforeEach(() => {
document.body.innerHTML= "";
const el = document.createElement('div');
element = document.body.appendChild(el);
})
the tests are the same
If you find the way that the tests works with this beforeEach
beforeEach(() => {
document.body.innerHTML = ""
})
please let me know because I couldn't
Thanks, but the tests are fixed now. 👋
Codecov Report
99.14% <0%> (+1.7%)
Continue to review full report at Codecov.