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/transition-js-if-outro-unre.../_config.js

10 lines
272 B

export default {
async test({ assert, target, window, raf }) {
const button = target.querySelector('button');
const event = new window.MouseEvent('click');
await button.dispatchEvent(event);
raf.tick(500);
assert.htmlEqual(target.innerHTML, '');
}
};