]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test: ignore index.ts in coverage
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 May 2019 20:41:21 +0000 (22:41 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 2 May 2019 20:41:21 +0000 (22:41 +0200)
jest.config.js

index 70c55441f0e2eb5fc363019bca44133b1d2366bc..2ebfd6df82bbbac42dd795a0922085c9f6502f25 100644 (file)
@@ -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)',