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?