From: Evan You Date: Fri, 2 Jul 2021 12:27:52 +0000 (-0400) Subject: test: fix test ts target X-Git-Tag: v3.1.4~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00bb76b69ce26b266434e454b26068ceb27c81b2;p=thirdparty%2Fvuejs%2Fcore.git test: fix test ts target --- diff --git a/jest.config.js b/jest.config.js index f9b4cfc0a6..3c61fdcdbd 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'],