File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1717 "source.fixAll" : " explicit"
1818 },
1919 "eslint.validate" : [
20+ " typescript" ,
2021 " javascript" ,
2122 " javascriptreact" ,
2223 " vue" ,
Original file line number Diff line number Diff line change @@ -240,7 +240,10 @@ function markupTests(distDir: string) {
240240 . querySelector ( '#criticalContainer picture source:first-child' )
241241 ?. getAttribute ( 'srcset' ) ;
242242 expect (
243- Array . from ( dom . querySelectorAll ( `link[imageSrcset][rel="preload"]` ) ) . find ( ( el : HTMLLinkElement ) => el . attributes . getNamedItem ( 'imagesrcset' ) . value === imageSrcset )
243+ Array . from ( dom . querySelectorAll ( `link[imageSrcset][rel="preload"]` ) ) . find (
244+ ( el : HTMLLinkElement ) =>
245+ el . attributes . getNamedItem ( 'imagesrcset' ) . value === imageSrcset
246+ )
244247 ) . not . toBeNull ( ) ;
245248 } ) ;
246249
@@ -255,7 +258,10 @@ function markupTests(distDir: string) {
255258 . querySelector ( '#criticalContainer img' )
256259 ?. getAttribute ( 'srcset' ) ;
257260 expect (
258- Array . from ( dom . querySelectorAll ( `link[imageSrcset][rel="preload"]` ) ) . find ( ( el : HTMLLinkElement ) => el . attributes . getNamedItem ( 'imagesrcset' ) . value === imageSrcset )
261+ Array . from ( dom . querySelectorAll ( `link[imageSrcset][rel="preload"]` ) ) . find (
262+ ( el : HTMLLinkElement ) =>
263+ el . attributes . getNamedItem ( 'imagesrcset' ) . value === imageSrcset
264+ )
259265 ) . not . toBeNull ( ) ;
260266 } ) ;
261267
You can’t perform that action at this time.
0 commit comments