Skip to content

Commit

Permalink
BUG: Fix tests are not failing (nor running)
Browse files Browse the repository at this point in the history
"npm test" only triggers the ESLint runner.

This commit uses the "projects" property to run jest and then the ESLint runner.
  • Loading branch information
AlexisPuga committed Mar 2, 2021
1 parent 0eaf9d7 commit 4701db5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions test/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
module.exports = {
runner: 'jest-runner-eslint',
displayName: 'ESLint',
watchPlugins: ['jest-runner-eslint/watch-fix']
projects: [
{
// Jest...
},
{
runner: 'jest-runner-eslint',
displayName: 'ESLint',
watchPlugins: ['jest-runner-eslint/watch-fix']
}
]
};

0 comments on commit 4701db5

Please sign in to comment.