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

This commit is contained in:
Dan Abramov
2017-11-21 16:28:42 +00:00
committed by GitHub
parent 3be0867637
commit eee769a6fc
+1 -3
View File
@@ -1,8 +1,6 @@
'use strict';
// React's test can only work in NODE_ENV=test because of how things
// are set up. So we might as well enforce it.
process.env.NODE_ENV = 'test';
process.env.NODE_ENV = 'development';
var path = require('path');