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/generator/samples/each-blocks-nested-b/_config.js

36 lines
768 B

export default {
data: {
categories: [
{
name: 'animals',
things: [
{ name: 'aardvark' },
{ name: 'buffalo' },
{ name: 'chinchilla' }
]
},
{
name: 'countries',
things: [
{ name: 'albania' },
{ name: 'brazil' },
{ name: 'china' }
]
},
{
name: 'people',
things: [
{ name: 'alice' },
{ name: 'bob' },
{ name: 'carol' },
{ name: 'dave' }
]
}
]
},
html: `<p>animals: aardvark</p><p>animals: buffalo</p><p>animals: chinchilla</p><!----><p>countries: albania</p><p>countries: brazil</p><p>countries: china</p><!----><p>people: alice</p><p>people: bob</p><p>people: carol</p><p>people: dave</p><!----><!---->`,
test ( assert, component, target ) {
// TODO
}
};