Commit 650bb7c5 authored by Arunoda Susiripala's avatar Arunoda Susiripala Committed by GitHub

Fix hmr failing issue. (#1968)

parent b8f336c7
...@@ -23,7 +23,7 @@ export default (context, render) => { ...@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment