File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
2+ "root" : true ,
23 "extends" : [
34 " plugin:github/browser" ,
45 " plugin:github/typescript"
Original file line number Diff line number Diff line change @@ -574,8 +574,8 @@ suite('include-fragment-element', function() {
574574 div . innerHTML = '<include-fragment loading="lazy" src="/slow-hello">loading</include-fragment>'
575575 div . hidden = true
576576 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 )
579579 const load = div . firstChild . load ( )
580580 setTimeout ( ( ) => {
581581 div . hidden = false
@@ -584,7 +584,7 @@ suite('include-fragment-element', function() {
584584 return load
585585 . then ( ( ) => when ( div . firstChild , 'loadend' ) )
586586 . then ( ( ) => {
587- assert . equal ( count , 1 , "Load occured too many times" )
587+ assert . equal ( loadCount , 1 , "Load occured too many times" )
588588 } )
589589 } )
590590} )
You can’t perform that action at this time.
0 commit comments