rsnext/test/integration/production/pages/with-title.js
JJ Kasper 0a02efbfcc
Add test for title and routeChangeComplete (#14132)
This adds a test case for the `document.title` not being updated by the time `routeChangeComplete` is fired. This should have been made consistent with https://github.com/vercel/next.js/pull/13287 so should be able to be closed now

Closes: https://github.com/vercel/next.js/issues/6025
2020-06-12 16:26:10 +00:00

10 lines
157 B
JavaScript

import Head from 'next/head'
export default () => (
<>
<Head>
<title>hello from title</title>
</Head>
<p id="with-title">hi</p>
</>
)