Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/10742/head
Rich Harris 10 months ago committed by GitHub
parent e16591abe8
commit 7cc5ce4e65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3,25 +3,18 @@ import { ok, test } from '../../test';
export default test({
async test({ assert, target, raf }) {
const button = target.querySelector('#button');
const button = /** @type {HTMLButtonElement} */ (target.querySelector('#button'));
const container = target.querySelector('#container');
ok(button);
ok(container);
// Multiple click on button
// @ts-ignore
button.click();
// @ts-ignore
button.click();
// @ts-ignore
button.click();
// @ts-ignore
button.click();
// @ts-ignore
button.click();
// @ts-ignore
button.click();
// @ts-ignore
button.click();
raf.tick(0);

Loading…
Cancel
Save