From 7a8ef477115553308182e6fa45340f4d0564fc3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Tue, 2 Apr 2019 21:29:40 -0700 Subject: [PATCH] Change Node implementation detail in test --- packages/jest-console/src/__tests__/CustomConsole.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-console/src/__tests__/CustomConsole.test.ts b/packages/jest-console/src/__tests__/CustomConsole.test.ts index 7bf5b566cb2b..fed8d092cdc3 100644 --- a/packages/jest-console/src/__tests__/CustomConsole.test.ts +++ b/packages/jest-console/src/__tests__/CustomConsole.test.ts @@ -76,7 +76,7 @@ describe('CustomConsole', () => { _console.assert(false); expect(_stderr).toMatch('AssertionError'); - expect(_stderr).toMatch('false == true'); + expect(_stderr).toMatch('The expression evaluated to a falsy value:'); }); test('log the assertion error when the assertion is falsy with another message argument', () => {