1
0
Fork 0
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:
Arunoda Susiripala 2017-05-15 01:18:22 -07:00
commit 00f2ab8ef5

View file

@ -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')