Skip to content

Commit

Permalink
Run Jest tests with "development" environment (#11612)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Nov 21, 2017
1 parent 40a176d commit 7e71273
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/jest/preprocessor.js
Original file line number Diff line number Diff line change
@@ -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');

Expand Down

0 comments on commit 7e71273

Please sign in to comment.