mirror of https://github.com/facebook/jest.git
fix failing snapshot test (#15497)
This commit is contained in:
parent
df9cedbc89
commit
dc9f98cae4
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue