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/set-clones-input/_config.js

10 lines
200 B

export default {
dev: true,
test ( assert, component ) {
const obj = { a: 1 };
component.set( obj );
component.set( obj ); // will fail if the object is not cloned
component.destroy();
}
}