You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If my process.env.NODE_ENV is development, loading this module using babel-loader will make __DEV__ in index.jsx to true, and it enables every this.shoud.xxx check in the source.
Is there any way to avoid this? And could I get a reply about why tests are integrated with the source and fired under NODE_ENV = development, not NODE_ENV = test?
The text was updated successfully, but these errors were encountered:
If my
process.env.NODE_ENV
isdevelopment
, loading this module usingbabel-loader
will make__DEV__
inindex.jsx
totrue
, and it enables everythis.shoud.xxx
check in the source.Is there any way to avoid this? And could I get a reply about why tests are integrated with the source and fired under
NODE_ENV = development
, notNODE_ENV = test
?The text was updated successfully, but these errors were encountered: