0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
svelte/test/vars/samples/mutated-vs-reassigned/_config.js
2020-10-21 15:23:08 -07:00

29 lines
499 B
JavaScript

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