Skip to content

Commit

Permalink
Fix ESLint error in test-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed May 20, 2022
1 parent d6e050a commit 2e7da2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-env jest */

export const muteConsole = () => {
jest.spyOn(global.console, 'log').mockImplementation(() => {});
jest.spyOn(global.console, 'error').mockImplementation(() => {});
Expand Down

0 comments on commit 2e7da2b

Please sign in to comment.