diff --git a/packages/jest-util/src/CustomConsole.js b/packages/jest-util/src/CustomConsole.js index 5e945d8231b1..84a17dce0420 100644 --- a/packages/jest-util/src/CustomConsole.js +++ b/packages/jest-util/src/CustomConsole.js @@ -75,9 +75,6 @@ export default class CustomConsole extends Console { this._logToParentConsole( this._formatBuffer(type, ' '.repeat(this._groupDepth) + message), ); - - // I have no idea why this is needed. If not included, it breaks ./__tests__/console.test.js ¯\_(ツ)_/¯ - return undefined; } assert(...args: Array) {