@samitouri / QOS-React / commits / ec1462834e

Update ReactDOMProduction-test.js

Dan Abramov committed Apr 2, 2016 at 00:53 UTC ec1462834e618b4223afb6f1428f3960ca239e0d
1 file changed +2 -2
src/renderers/dom/__tests__/ReactDOMProduction-test.js
+2 -2
@@ -18,7 +18,7 @@ describe('ReactDOMProduction', function() {
18 var ReactDOM;
19
20 beforeEach(function() {
21 - __DEV__ = true;
21 + __DEV__ = false;
22 oldProcess = process;
23 global.process = {env: {NODE_ENV: 'production'}};
24
@@ -28,7 +28,7 @@ describe('ReactDOMProduction', function() {
28 });
29
30 afterEach(function() {
31 - __DEV__ = false;
31 + __DEV__ = true;
32 global.process = oldProcess;
33 });
34