From: Eduardo San Martin Morote Date: Thu, 2 May 2019 20:41:21 +0000 (+0200) Subject: test: ignore index.ts in coverage X-Git-Tag: v4.0.0-alpha.0~403 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78a0a602b15729c3858aa7f23a2126975030efcb;p=thirdparty%2Fvuejs%2Frouter.git test: ignore index.ts in coverage --- diff --git a/jest.config.js b/jest.config.js index 70c55441..2ebfd6df 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,7 @@ module.exports = { preset: 'ts-jest', collectCoverageFrom: ['src/**/*.ts'], + coveragePathIgnorePatterns: ['/node_modules/', 'src/index.ts'], testMatch: [ '**/__tests__/**/*.spec.[j]s?(x)', // '**/__tests__/**/*.spec.[jt]s?(x)',