export default { html: `
1
2
3
2
1
1
2
3
2
1
1
2
3
2
1
1
2
3
2
1
`, test ( assert, component, target, window ) { const click = new window.MouseEvent( 'click' ); const spans = target.querySelectorAll( 'span' ); spans[0].dispatchEvent( click ); assert.equal( component.get( 'currentIdentifier' ), 1 ); assert.htmlEqual( target.innerHTML, `1
2
3
2
1
1
2
3
2
1
1
2
3
2
1
1
2
3
2
1
` ); spans[0].dispatchEvent( click ); assert.equal( component.get( 'currentIdentifier' ), null ); assert.htmlEqual( target.innerHTML, `1
2
3
2
1
1
2
3
2
1
1
2
3
2
1
1
2
3
2
1
` ); } };