From 00bb76b69ce26b266434e454b26068ceb27c81b2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 2 Jul 2021 08:27:52 -0400 Subject: [PATCH] test: fix test ts target --- jest.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index f9b4cfc0..3c61fdcd 100644 --- a/jest.config.js +++ b/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'],