Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Ignoring extra files (#648)
Browse files Browse the repository at this point in the history
Ignore `.pnpm-debug.log` and exclude Storybook stories from coverage reports.
  • Loading branch information
krysal authored Jan 20, 2022
1 parent eaa9231 commit 535bbc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ yarn-error.log*
/test/selenium-webdriver/geckodriver.log
/test/selenium-webdriver/screenshots/*
selenium-debug.log
.pnpm-debug.log
.env
.idea
.vscode
Expand Down
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ module.exports = {
testPathIgnorePatterns: ['/e2e/'],
collectCoverage: true,
coverageDirectory: '<rootDir>/test/unit/coverage',
collectCoverageFrom: ['<rootDir>/src/**/*.vue', '<rootDir>/src/**/*.js'],
collectCoverageFrom: [
'<rootDir>/src/**/*.vue',
'<rootDir>/src/**/*.js',
'!<rootDir>/src/**/*.stories.js',
],
}

0 comments on commit 535bbc9

Please sign in to comment.