File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1904,13 +1904,13 @@ createNextDescribe(
19041904 it ( 'should insert preload tags for beforeInteractive and afterInteractive scripts' , async ( ) => {
19051905 const html = await next . render ( '/script' )
19061906 expect ( html ) . toContain (
1907- '<link rel="preload" as="script" href="/test1.js"/>'
1907+ '<link rel="preload" href="/test1.js" as="script "/>'
19081908 )
19091909 expect ( html ) . toContain (
1910- '<link rel="preload" as="script" href="/test2.js"/>'
1910+ '<link rel="preload" href="/test2.js" as="script "/>'
19111911 )
19121912 expect ( html ) . toContain (
1913- '<link rel="preload" as="script" href="/test3.js"/>'
1913+ '<link rel="preload" href="/test3.js" as="script "/>'
19141914 )
19151915
19161916 // test4.js has lazyOnload which doesn't need to be preloaded
You can’t perform that action at this time.
0 commit comments