Skip to content

Commit dc984af

Browse files
committed
Move console mocks to internal-test-utils
1 parent a5aedd1 commit dc984af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/internal-test-utils/consoleMock.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ const unexpectedErrorCallStacks = [];
1515
const unexpectedWarnCallStacks = [];
1616
const unexpectedLogCallStacks = [];
1717

18-
// TODO: Consider consolidating this with `yieldValue`. In both cases, tests
19-
// should not be allowed to exit without asserting on the entire log.
2018
const patchConsoleMethod = (methodName, unexpectedConsoleCallStacks) => {
2119
const newMethod = function (format, ...args) {
2220
// Ignore uncaught errors reported by jsdom

0 commit comments

Comments
 (0)