Skip to content

Commit e132cb0

Browse files
gaearonraphamorim
authored andcommitted
Run Jest tests with "development" environment (facebook#11612)
1 parent 395e851 commit e132cb0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/jest/preprocessor.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
'use strict';
22

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';
64

75
var path = require('path');
86

0 commit comments

Comments
 (0)