import { test } from '../../test';

export default test({
	html: `
		<p>Hello Alice</p>
		<p>Hello Bob</p>
		<p>Hello Charles</p>
	`,

	test({ assert, component, target }) {
		component.people = ['Alice', 'Charles', 'Bob'];

		assert.htmlEqual(
			target.innerHTML,
			`
			<p>Hello Alice</p>
			<p>Hello Charles</p>
			<p>Hello Bob</p>
		`
		);
	}
});
