mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
@@ -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