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/select-bind-in-array/_config.js

17 lines
260 B

const items = [ { id: 'a' }, { id: 'b' } ];
export default {
'skip-ssr': true,
data: {
items
},
test ( assert, component, target ) {
const items = component.get().items;
assert.equal( items[0].id, 'a' );
assert.equal( items[1].id, 'b' );
}
};