Skip to content

Commit

Permalink
Removes unused, duplicate restore function
Browse files Browse the repository at this point in the history
  • Loading branch information
lourd authored Jul 7, 2021
1 parent 14e97b5 commit 1952858
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const mockConsole = (mockArg) => {
});
}
// Return function to restore console
const restore = () => global.console = originalConsole;
return () => {
global.console = originalConsole;
};
Expand Down

0 comments on commit 1952858

Please sign in to comment.