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

37 lines
608 B

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