export default { html: `

1

2

3

2

1

1

2

3

2

1

1

2

3

2

1

1

2

3

2

1

`, async test({ assert, component, target, window }) { const click = new window.MouseEvent('click'); const spans = target.querySelectorAll('span'); await spans[0].dispatchEvent(click); assert.equal(component.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

`); await spans[0].dispatchEvent(click); assert.equal(component.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

`); } };