Skip to content

Commit

Permalink
Run Jest tests with "development" environment (facebook#11612)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and Ethan-Arrowood committed Dec 8, 2017
1 parent 18506de commit 87fda37
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 87fda37

Please sign in to comment.