Skip to content

Commit

Permalink
chore: remove unneeded console.error hack
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Sep 24, 2024
1 parent d592326 commit faa93c7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ describe('VisualizationPlugin', () => {
// eslint-disable-next-line no-import-assign, import/namespace
api.apiFetchAnalytics = jest.fn().mockRejectedValue('error')

const originalConsoleError = console.error
await canvas()
console.error = originalConsoleError

expect(defaultProps.onError).toHaveBeenCalled()
})
Expand Down

0 comments on commit faa93c7

Please sign in to comment.