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';
3
3
4
4
export default test ( {
5
5
async test ( { assert, target, raf } ) {
6
- const button = target . querySelector ( '#button' ) ;
6
+ const button = /** @type { HTMLButtonElement } */ ( target . querySelector ( '#button' ) ) ;
7
7
const container = target . querySelector ( '#container' ) ;
8
8
ok ( button ) ;
9
9
ok ( container ) ;
10
10
11
11
// Multiple click on button
12
- // @ts -ignore
13
12
button . click ( ) ;
14
- // @ts -ignore
15
13
button . click ( ) ;
16
- // @ts -ignore
17
14
button . click ( ) ;
18
- // @ts -ignore
19
15
button . click ( ) ;
20
- // @ts -ignore
21
16
button . click ( ) ;
22
- // @ts -ignore
23
17
button . click ( ) ;
24
- // @ts -ignore
25
18
button . click ( ) ;
26
19
27
20
raf . tick ( 0 ) ;
You can’t perform that action at this time.
0 commit comments