// expect aborting halfway through outro transition
// to behave the same in `{#if}` block as in `{:else}` block
export default {
	html: `
		
a
		a
	`,
	async test({ assert, component, target, window, raf }) {
		component.visible = false;
		// abort halfway through the outro transition
		raf.tick(50);
		await component.$set({
			visible: true,
			array: ['a', 'b', 'c']
		});
		assert.htmlEqual(target.innerHTML, `
			a
			b
			c
			a
			b
			c
		`);
	}
};