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:
parent
debf1ce17a
commit
830e3d01cf
16
test/vars/samples/component-namespaced/_config.js
Normal file
16
test/vars/samples/component-namespaced/_config.js
Normal 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
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
};
|
5
test/vars/samples/component-namespaced/input.svelte
Normal file
5
test/vars/samples/component-namespaced/input.svelte
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
import * as NS from 'some-library';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<NS.Foo/>
|
Loading…
Reference in New Issue
Block a user