export default {
	html: `
		
			hello world 0 hello
			
		
		
			hello world 0 hello
			
		
		
			hello world 0 hello
			
		
	`,
	async test({ assert, target, window }) {
		const [button1, button2, button3] = target.querySelectorAll('button');
		const event = new window.MouseEvent('click');
		await button1.dispatchEvent(event);
		assert.htmlEqual(target.innerHTML, `
			
				hello world 1 hello
				
			
			
				hello world 0 hello
				
			
			
				hello world 0 hello
				
			
		`);
		await button2.dispatchEvent(event);
		assert.htmlEqual(target.innerHTML, `
			
				hello world 1 hello
				
			
			
				hello world 1 hello
				
			
			
				hello world 0 hello
				
			
		`);
		await button3.dispatchEvent(event);
		assert.htmlEqual(target.innerHTML, `
			
				hello world 1 hello
				
			
			
				hello world 1 hello
				
			
			
				hello world 1 hello
				
			
		`);
	}
};