File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "root" : true ,
2
3
"extends" : [
3
4
" plugin:github/browser" ,
4
5
" plugin:github/typescript"
Original file line number Diff line number Diff line change @@ -574,8 +574,8 @@ suite('include-fragment-element', function() {
574
574
div . innerHTML = '<include-fragment loading="lazy" src="/slow-hello">loading</include-fragment>'
575
575
div . hidden = true
576
576
document . body . appendChild ( div )
577
- let count = 0
578
- div . firstChild . addEventListener ( 'loadstart' , ( ) => count += 1 )
577
+ let loadCount = 0
578
+ div . firstChild . addEventListener ( 'loadstart' , ( ) => loadCount += 1 )
579
579
const load = div . firstChild . load ( )
580
580
setTimeout ( ( ) => {
581
581
div . hidden = false
@@ -584,7 +584,7 @@ suite('include-fragment-element', function() {
584
584
return load
585
585
. then ( ( ) => when ( div . firstChild , 'loadend' ) )
586
586
. then ( ( ) => {
587
- assert . equal ( count , 1 , "Load occured too many times" )
587
+ assert . equal ( loadCount , 1 , "Load occured too many times" )
588
588
} )
589
589
} )
590
590
} )
You can’t perform that action at this time.
0 commit comments