svelte/test/runtime/samples/computed-empty/_config.js

9 lines
219 B

export default {
html: '<div>empty</div>',
test ( assert, component, target ) {
assert.equal( component.get( 'created' ), true );
assert.equal( target.innerHTML, '<div>empty</div>' );
component.destroy();
}
};