diff --git a/packages/react-scripts/fixtures/kitchensink/integration/initDOM.js b/packages/react-scripts/fixtures/kitchensink/integration/initDOM.js index c04e60d4c87..afb9c269871 100644 --- a/packages/react-scripts/fixtures/kitchensink/integration/initDOM.js +++ b/packages/react-scripts/fixtures/kitchensink/integration/initDOM.js @@ -2,6 +2,7 @@ const fs = require('fs') const http = require('http') const jsdom = require('jsdom') const path = require('path') +const { expect } = require('chai') let getMarkup let resourceLoader @@ -39,7 +40,7 @@ if (process.env.E2E_FILE) { timeToWaitForJsToExecute = 100 } else { it.only('can run jsdom (at least one of "E2E_FILE" or "E2E_URL" environment variables must be provided)', () => { - expect(new Error('This isn\'t the error you are looking for.')).toBeUndefined() + expect(new Error('This isn\'t the error you are looking for.')).to.be.undefined() }) } diff --git a/packages/react-scripts/fixtures/kitchensink/src/App.js b/packages/react-scripts/fixtures/kitchensink/src/App.js index 66cd45541f7..45757f92ad1 100644 --- a/packages/react-scripts/fixtures/kitchensink/src/App.js +++ b/packages/react-scripts/fixtures/kitchensink/src/App.js @@ -81,8 +81,7 @@ class App extends React.Component { require.ensure([], () => this.setFeature(require('./features/syntax/TemplateInterpolation').default)); break; case 'unknown-ext-inclusion': - require.ensure([], () => this.setFeature(require('./features/webpack/UnknownExtInclusion').default) - ); + require.ensure([], () => this.setFeature(require('./features/webpack/UnknownExtInclusion').default)); break; default: this.setFeature(null);