@samitouri / QOS-React / commits / 3195bcdbcb

Add process.cwd to the test process shim

Dan Abramov committed Jan 30, 2017 at 21:48 UTC 3195bcdbcb511cc218859dc6b35de8628a6fb9bc
1 file changed +1
src/renderers/dom/__tests__/ReactDOMProduction-test.js
+1
@@ -22,6 +22,7 @@ describe('ReactDOMProduction', () => {
22 __DEV__ = false;
23 oldProcess = process;
24 global.process = {
25 + cwd: process.cwd,
26 env: Object.assign({}, process.env, {NODE_ENV: 'production'}),
27 };
28