Skip to content

Commit 635e901

Browse files
committed
Charset is now floated to the start in React 19
1 parent 3e4de91 commit 635e901

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/development/pages-dir/client-navigation/rendering.test.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,7 @@ describe.each([[false], [true]])(
609609
const documentHeadElement =
610610
'<meta name="keywords" content="document head test"/>'
611611

612-
// charset is not actually at the top.
613-
// data-next-hide-fouc comes first
614-
expect(html).toContain(
615-
`</style></noscript>${nextHeadElement}${documentHeadElement}`
616-
)
612+
expect(html).toContain(`<head>${nextHeadElement}${documentHeadElement}`)
617613
})
618614
}
619615
)

0 commit comments

Comments
 (0)