mirror of https://github.com/sveltejs/svelte
parent
ec543cf9b6
commit
c6304b19f7
@ -1,7 +1,7 @@
|
||||
export default {
|
||||
dev: true,
|
||||
|
||||
error ( assert, err ) {
|
||||
assert.equal( err.message, `Component was created without expected data property 'value'` );
|
||||
}
|
||||
warnings: [
|
||||
`Component was created without expected data property 'value'`
|
||||
]
|
||||
};
|
@ -1,7 +1,8 @@
|
||||
export default {
|
||||
dev: true,
|
||||
|
||||
error ( assert, err ) {
|
||||
assert.equal( err.message, `Component was created without expected data property 'foo'` );
|
||||
}
|
||||
warnings: [
|
||||
`Component was created without expected data property 'foo'`,
|
||||
`Component was created without expected data property 'bar'`
|
||||
]
|
||||
};
|
@ -1 +1,4 @@
|
||||
<p>{{foo}}</p>
|
||||
<p>
|
||||
{{Math.max(0, foo)}}
|
||||
{{bar}}
|
||||
</p>
|
||||
|
Loading…
Reference in new issue