export default { data: { foo: false, threshold: 5 }, html: `
1
2
3
4
5
`, test ( assert, component, target, window, raf ) { const divs = target.querySelectorAll('div'); raf.tick(100); component.set({ threshold: 4 }); raf.tick(150); component.set({ threshold: 5 }); raf.tick(200); component.set({ threshold: 5.5 }); assert.htmlEqual(target.innerHTML, `
1
2
3
4
5
`); component.destroy(); } };