File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
packages/svelte/tests/runtime-legacy/samples/component-transition Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,18 @@ import { ok, test } from '../../test';
33
44export default test ( {
55 async test ( { assert, target, raf } ) {
6- const button = target . querySelector ( '#button' ) ;
6+ const button = /** @type { HTMLButtonElement } */ ( target . querySelector ( '#button' ) ) ;
77 const container = target . querySelector ( '#container' ) ;
88 ok ( button ) ;
99 ok ( container ) ;
1010
1111 // Multiple click on button
12- // @ts -ignore
1312 button . click ( ) ;
14- // @ts -ignore
1513 button . click ( ) ;
16- // @ts -ignore
1714 button . click ( ) ;
18- // @ts -ignore
1915 button . click ( ) ;
20- // @ts -ignore
2116 button . click ( ) ;
22- // @ts -ignore
2317 button . click ( ) ;
24- // @ts -ignore
2518 button . click ( ) ;
2619
2720 raf . tick ( 0 ) ;
You can’t perform that action at this time.
0 commit comments