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/vars-report-full-script/_config.js

32 lines
534 B

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