@samitouri / QOS-React / commits / 7e7127387b

Run Jest tests with "development" environment (#11612)

Dan Abramov committed Nov 21, 2017 at 16:28 UTC 7e7127387ba64f57299eaff8656542cea6fb3a2d
1 file changed +1 -3
scripts/jest/preprocessor.js
+1 -3
@@ -1,8 +1,6 @@
1 'use strict';
2
3 -// React's test can only work in NODE_ENV=test because of how things
4 -// are set up. So we might as well enforce it.
5 -process.env.NODE_ENV = 'test';
3 +process.env.NODE_ENV = 'development';
4
5 var path = require('path');
6