You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/names-deconflicted/_config.js

13 lines
256 B

export default {
html: `<p>1: foo</p><p>2: bar</p><p>3: baz</p>`,
test({ assert, component, target }) {
component.widgets = [
{ name: 'bish' },
{ name: 'bosh' }
];
assert.htmlEqual( target.innerHTML, `<p>1: bish</p><p>2: bosh</p>` );
}
};