jest-runner-eslint
jest-runner-eslint copied to clipboard
jest runner output different to running eslint directly
I've updated to v9 and using eslint.config.js
. When running jest-runner through jest with watch the linting passes.
If I run eslint directly, some things fail.
I've not made any changes to the jest.config.js
file since upgrading.
module.exports = {
projects: [
{
runner: 'jest-runner-eslint',
displayName: 'lint',
testMatch: [
'/app/src/*.js',
'/app/src/**/*.js',
'/app/tests/*.js',
'/app/tests/**/*.js',
],
},
...
I would expect the results to be identical (it was before v9). Was not clear from the recent PR if something needs changing in the config.