Explorar o código

test: fix test ts target

Evan You %!s(int64=5) %!d(string=hai) anos
pai
achega
00bb76b69c
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      jest.config.js

+ 6 - 1
jest.config.js

@@ -13,7 +13,12 @@ module.exports = {
     __FEATURE_OPTIONS_API__: true,
     __FEATURE_SUSPENSE__: true,
     __FEATURE_PROD_DEVTOOLS__: false,
-    __COMPAT__: true
+    __COMPAT__: true,
+    'ts-jest': {
+      tsconfig: {
+        target: 'esnext'
+      }
+    }
   },
   coverageDirectory: 'coverage',
   coverageReporters: ['html', 'lcov', 'text'],