From 7cc5ce4e6537bf4f614d1bd4918b36c6ff2ea874 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 10 Mar 2024 17:37:17 -0400 Subject: [PATCH] tidy up (#10744) Co-authored-by: Rich Harris --- .../samples/component-transition/_config.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/svelte/tests/runtime-legacy/samples/component-transition/_config.js b/packages/svelte/tests/runtime-legacy/samples/component-transition/_config.js index 36e9e40d57..c6c36f14c4 100644 --- a/packages/svelte/tests/runtime-legacy/samples/component-transition/_config.js +++ b/packages/svelte/tests/runtime-legacy/samples/component-transition/_config.js @@ -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);