Skip to content

Commit 842cb98

Browse files
committed
Removed unused third param to spyOn
1 parent 72a97f2 commit 842cb98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-dom/src/__tests__/utils/ReactDOMServerIntegrationTestUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = function(initModules) {
4343
} else {
4444
// TODO: Rewrite tests that use this helper to enumerate expeceted errors.
4545
// This will enable the helper to use the .toWarnDev() matcher instead of spying.
46-
spyOnDev(console, 'error', true);
46+
spyOnDev(console, 'error');
4747
}
4848

4949
const result = await fn();

0 commit comments

Comments
 (0)