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/transitions/_config.js

73 lines
1.3 KiB

export default {
test(assert, vars) {
assert.deepEqual(vars, [
{
export_name: null,
injected: false,
module: false,
mutated: false,
name: 'hoistable_foo',
reassigned: false,
referenced: true,
referenced_from_script: false,
writable: false
},
{
export_name: null,
injected: false,
module: false,
mutated: false,
name: 'hoistable_bar',
reassigned: false,
referenced: true,
referenced_from_script: false,
writable: false
},
{
export_name: null,
injected: false,
module: false,
mutated: false,
name: 'hoistable_baz',
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: 'bar',
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
}
]);
}
};