export default { props: { visible: false, rows: [1, 2, 3], cols: ['a', 'b', 'c'] }, html: '', compileOptions: { dev: true }, test({ assert, component, target, raf }) { component.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.visible = false; raf.tick(0); raf.tick(100); assert.htmlEqual(target.innerHTML, ''); } };