diff --git a/packages/jest-resolve/src/defaultResolver.ts b/packages/jest-resolve/src/defaultResolver.ts index 3f598931c25a..9ec9306661f2 100644 --- a/packages/jest-resolve/src/defaultResolver.ts +++ b/packages/jest-resolve/src/defaultResolver.ts @@ -90,7 +90,7 @@ function statSyncCached(path: string): IPathType { throw e; } } finally { - // Object.defineProperty(Error, 'stackTraceLimit', oldTrace); + Object.defineProperty(Error, 'stackTraceLimit', oldTrace); } if (stat) {