export default { data: { visible: false, rows: [1, 2, 3], cols: ['a', 'b', 'c'] }, html: ``, compileOptions: { dev: true }, nestedTransitions: true, skipIntroByDefault: true, test(assert, component, target, window, raf) { component.set({ visible: true }); assert.htmlEqual(target.innerHTML, `
1, a
1, b
1, c
2, a
2, b
2, c
3, a
3, b
3, c
`); component.set({ visible: false }); raf.tick(0); raf.tick(100); assert.htmlEqual(target.innerHTML, ``); }, };