You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/vars/samples/template-references/_config.js

40 lines
708 B

export default {
test(assert, vars) {
assert.deepEqual(vars, [
{
export_name: null,
injected: false,
module: false,
mutated: false,
name: 'Bar',
reassigned: false,
referenced: true,
referenced_from_script: false,
writable: false
},
{
export_name: null,
injected: false,
module: false,
mutated: false,
name: 'foo',
reassigned: false,
referenced: true,
referenced_from_script: false,
writable: true
},
{
export_name: null,
injected: false,
module: false,
mutated: false,
name: 'baz',
reassigned: false,
referenced: true,
referenced_from_script: false,
writable: true
}
]);
}
};