export default { nestedTransitions: true, skipIntroByDefault: true, data: { x: true, }, html: `
a
`, test (assert, component, target, window, raf) { component.set({ x: false }); assert.htmlEqual(target.innerHTML, `
a
b
`); const [a, b] = target.querySelectorAll('div'); raf.tick(25); assert.equal(a.a, 0.75); assert.equal(b.b, 0.25); raf.tick(100); assert.equal(a.a, 0); assert.equal(b.b, 1); assert.htmlEqual(target.innerHTML, `
b
`); } };