From ec1462834e618b4223afb6f1428f3960ca239e0d Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 2 Apr 2016 00:53:01 +0100 Subject: [PATCH] Update ReactDOMProduction-test.js --- src/renderers/dom/__tests__/ReactDOMProduction-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderers/dom/__tests__/ReactDOMProduction-test.js b/src/renderers/dom/__tests__/ReactDOMProduction-test.js index 8850655b7740d..dd5a96a988596 100644 --- a/src/renderers/dom/__tests__/ReactDOMProduction-test.js +++ b/src/renderers/dom/__tests__/ReactDOMProduction-test.js @@ -18,7 +18,7 @@ describe('ReactDOMProduction', function() { var ReactDOM; beforeEach(function() { - __DEV__ = true; + __DEV__ = false; oldProcess = process; global.process = {env: {NODE_ENV: 'production'}}; @@ -28,7 +28,7 @@ describe('ReactDOMProduction', function() { }); afterEach(function() { - __DEV__ = false; + __DEV__ = true; global.process = oldProcess; });