From eb6f1b1df60a81082e10bec56122bc1d6c52c69b Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 7 Feb 2019 15:27:05 +0800 Subject: [PATCH] [build] collect coverage from ts file (#2700) --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index d8e5b5c1b..e966e49e8 100644 --- a/jest.config.js +++ b/jest.config.js @@ -11,7 +11,7 @@ module.exports = { }, snapshotSerializers: ['/node_modules/jest-serializer-vue'], collectCoverageFrom: [ - 'packages/**/*.{js,vue}', + 'packages/**/*.{js,ts,tsx,vue}', '!**/style/**', '!**/demo/**', '!**/locale/lang/**',