From a4213067766868a314f40211aed4c12697f055d7 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Tue, 11 Jun 2024 21:29:28 -0400 Subject: [PATCH] Align shouldIgnoreConsole opt-out --- packages/internal-test-utils/shouldIgnoreConsoleError.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/internal-test-utils/shouldIgnoreConsoleError.js b/packages/internal-test-utils/shouldIgnoreConsoleError.js index e29fd2146ba4d..0b5798d241a1d 100644 --- a/packages/internal-test-utils/shouldIgnoreConsoleError.js +++ b/packages/internal-test-utils/shouldIgnoreConsoleError.js @@ -3,7 +3,7 @@ module.exports = function shouldIgnoreConsoleError(format, args) { if (__DEV__) { if (typeof format === 'string') { - if (format.startsWith('%c%s%c')) { + if (format.startsWith('%c%s')) { // Looks like a badged error message args.splice(0, 3); }