mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
1 parent
ee6358bb7d
commit
f5662456e1
1 file changed
+1
@@ -23,6 +23,7 @@ describe('ReactPropTypesProduction', function() {
|
||||
__DEV__ = false;
|
||||
oldProcess = process;
|
||||
global.process = {
|
||||
cwd: process.cwd,
|
||||
env: Object.assign({}, process.env, {NODE_ENV: 'production'}),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user