From dc9f98cae4ee990f77e92ebf186948ca4983a61a Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Sun, 9 Feb 2025 23:29:11 +0100 Subject: [PATCH] fix failing snapshot test (#15497) --- e2e/__tests__/jest.config.ts.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/__tests__/jest.config.ts.test.ts b/e2e/__tests__/jest.config.ts.test.ts index 5c1684898f..52875c3b5f 100644 --- a/e2e/__tests__/jest.config.ts.test.ts +++ b/e2e/__tests__/jest.config.ts.test.ts @@ -148,7 +148,7 @@ onNodeVersions('>=23.6', () => { expect( stderr // Remove the stack trace from the error message - .slice(0, Math.max(0, stderr.indexOf('Caused by'))) + .slice(0, Math.max(0, stderr.indexOf('at readConfigFileAndSetRootDir'))) .trim() // Replace the path to the config file with a placeholder .replace(