mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Merge branch 'master' into v3-beta
This commit is contained in:
commit
00f2ab8ef5
|
@ -23,7 +23,7 @@ export default (context, render) => {
|
||||||
const errorMessage = await browser
|
const errorMessage = await browser
|
||||||
.waitForElementByCss('pre')
|
.waitForElementByCss('pre')
|
||||||
.elementByCss('pre').text()
|
.elementByCss('pre').text()
|
||||||
expect(errorMessage.includes('SyntaxError: Unterminated JSX contents')).toBeTruthy()
|
expect(errorMessage.includes('Unterminated JSX contents')).toBeTruthy()
|
||||||
|
|
||||||
// add the original content
|
// add the original content
|
||||||
writeFileSync(aboutPagePath, originalContent, 'utf8')
|
writeFileSync(aboutPagePath, originalContent, 'utf8')
|
||||||
|
|
Loading…
Reference in a new issue