refactor: use __TEST__ flag

This commit is contained in:
Evan You
2019-11-04 11:24:22 -05:00
parent fec47bb3ac
commit 300a705221
6 changed files with 23 additions and 15 deletions

View File

@@ -4,9 +4,9 @@ module.exports = {
preset: 'ts-jest',
globals: {
__DEV__: true,
__TEST__: true,
__VERSION__: lernaJson.version,
__BROWSER__: false,
__JSDOM__: true,
__RUNTIME_COMPILE__: true,
__FEATURE_OPTIONS__: true,
__FEATURE_SUSPENSE__: true