Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed unused oldMethod
  • Loading branch information
bvaughn committed Dec 18, 2017
commit e6ff0da1f14c6c608fbace1856926c2913a0c48b
1 change: 0 additions & 1 deletion scripts/jest/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
});

['error', 'warn'].forEach(methodName => {
const oldMethod = console[methodName];
const newMethod = function() {
throw new Error(
`Expected test not to call console.${methodName}(). ` +
Expand Down