svelte/test/runtime/samples/component-ref/_config.js

9 lines
159 B

export default {
html: '<div><p>i am a widget</p></div>',
test({ assert, component }) {
const { widget } = component;
assert.ok(widget.isWidget);
}
};