Skip to content

Commit

Permalink
💡 Document the reason to disable console.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
charliegdev committed May 28, 2019
1 parent 04f8a99 commit e4f85b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test-setup.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/* eslint no-console: 0 */
// Evergreen keeps spitting out console warnings about a deprecated CSS prop which we're not using;
// it clobs up the jest unit test output! Disable warnings.
console.warn = jest.fn();

0 comments on commit e4f85b6

Please sign in to comment.