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

@@ -1,6 +1,6 @@
// Global compile-time constants
declare var __DEV__: boolean
declare var __JSDOM__: boolean
declare var __TEST__: boolean
declare var __BROWSER__: boolean
declare var __RUNTIME_COMPILE__: boolean
declare var __COMMIT__: string