Skip to content

Commit dc9f98c

Browse files
authored
fix failing snapshot test (#15497)
1 parent df9cedb commit dc9f98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/__tests__/jest.config.ts.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ onNodeVersions('>=23.6', () => {
148148
expect(
149149
stderr
150150
// Remove the stack trace from the error message
151-
.slice(0, Math.max(0, stderr.indexOf('Caused by')))
151+
.slice(0, Math.max(0, stderr.indexOf('at readConfigFileAndSetRootDir')))
152152
.trim()
153153
// Replace the path to the config file with a placeholder
154154
.replace(

0 commit comments

Comments
 (0)