|
|
@ -1,7 +1,10 @@
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
// solo: true,
|
|
|
|
|
|
|
|
'skip-ssr': true,
|
|
|
|
'skip-ssr': true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data: {
|
|
|
|
|
|
|
|
ids: ['id-0', 'id-1', 'id-2']
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
html: `
|
|
|
|
html: `
|
|
|
|
<ol>
|
|
|
|
<ol>
|
|
|
|
<li>id-0: value is zero</li>
|
|
|
|
<li>id-0: value is zero</li>
|
|
|
@ -10,7 +13,18 @@ export default {
|
|
|
|
</ol>
|
|
|
|
</ol>
|
|
|
|
`,
|
|
|
|
`,
|
|
|
|
|
|
|
|
|
|
|
|
// test ( assert, component, target, window ) {
|
|
|
|
test (assert, component, target) {
|
|
|
|
|
|
|
|
component.set({
|
|
|
|
// }
|
|
|
|
ids: ['id-0', 'id-1', 'id-2', 'id-3']
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assert.htmlEqual(target.innerHTML, `
|
|
|
|
|
|
|
|
<ol>
|
|
|
|
|
|
|
|
<li>id-0: value is zero</li>
|
|
|
|
|
|
|
|
<li>id-1: value is one</li>
|
|
|
|
|
|
|
|
<li>id-2: value is two</li>
|
|
|
|
|
|
|
|
<li>id-3: value is three</li>
|
|
|
|
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
`);
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|