feat: 2.x options support

This commit is contained in:
Evan You
2019-09-03 22:25:38 -04:00
parent c833db9c97
commit a6616e4210
6 changed files with 243 additions and 14 deletions

View File

@@ -2,8 +2,9 @@ module.exports = {
preset: 'ts-jest',
globals: {
__DEV__: true,
__COMPAT__: false,
__JSDOM__: true
__JSDOM__: true,
__FEATURE_OPTIONS__: true,
__FEATURE_PRODUCTION_TIP__: false
},
coverageDirectory: 'coverage',
coverageReporters: ['html', 'lcov', 'text'],