0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00

failing vars test

This commit is contained in:
Rich Harris 2019-05-12 14:24:19 -04:00
parent debf1ce17a
commit 830e3d01cf
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,16 @@
export default {
test(assert, vars) {
assert.deepEqual(vars, [
{
name: 'NS',
export_name: null,
injected: false,
module: false,
mutated: false,
reassigned: false,
referenced: true,
writable: false
}
]);
}
};

View File

@ -0,0 +1,5 @@
<script>
import * as NS from 'some-library';
</script>
<NS.Foo/>