mirror of https://github.com/sveltejs/svelte
commit
f56aab6fe4
@ -0,0 +1,8 @@
|
|||||||
|
export default {
|
||||||
|
test(assert, stats) {
|
||||||
|
assert.equal(stats.templateReferences.size, 3);
|
||||||
|
assert.ok(stats.templateReferences.has('foo'));
|
||||||
|
assert.ok(stats.templateReferences.has('Bar'));
|
||||||
|
assert.ok(stats.templateReferences.has('baz'));
|
||||||
|
},
|
||||||
|
};
|
@ -0,0 +1,2 @@
|
|||||||
|
{foo}
|
||||||
|
<Bar {baz}/>
|
Loading…
Reference in new issue