diff --git a/src/renderers/dom/__tests__/ReactDOMProduction-test.js b/src/renderers/dom/__tests__/ReactDOMProduction-test.js index ad82b35822..59b7c89b21 100644 --- a/src/renderers/dom/__tests__/ReactDOMProduction-test.js +++ b/src/renderers/dom/__tests__/ReactDOMProduction-test.js @@ -22,6 +22,7 @@ describe('ReactDOMProduction', () => { __DEV__ = false; oldProcess = process; global.process = { + cwd: process.cwd, env: Object.assign({}, process.env, {NODE_ENV: 'production'}), };