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/runtime/samples/renamed-instance-exports/_config.js

11 lines
247 B

export default {
test({ assert, component }) {
assert.equal(component.bar1, 42);
assert.equal(component.bar2, 42);
component.bar1 = 100;
component.bar2 = 100;
assert.equal(component.bar1, 42);
assert.equal(component.bar2, 100);
}
};