svelte/test/runtime/samples/action-object/_config.js

9 lines
159 B

export default {
html: `
<button>action</button>
`,
async test({ assert, target }) {
assert.equal(target.querySelector('button').foo, 'bar1337');
}
};