Skip to content

Commit

Permalink
chore: update eslint (#13366)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Oct 3, 2022
1 parent 23d7b56 commit 42a466c
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 108 deletions.
1 change: 1 addition & 0 deletions packages/jest-core/src/__tests__/watch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ describe('Watch mode flows', () => {
// We need the penultimate call as Jest forces a final call to restore
// updateSnapshot because it's not sticky after a run…?
const lastCall = updateGlobalConfig.mock.calls.slice(-2)[0];
// eslint-disable-next-line jest/valid-expect
let expector = expect(lastCall[1]);
if (!ok) {
expector = expector.not;
Expand Down
Loading

0 comments on commit 42a466c

Please sign in to comment.