Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
resetRetrieveHandlers
to reset retrieveSourceMap
and `retriev…
…eFile` functions The `handlerExec` function produces functions that are using original `retrieveFileHandlers`/`retrieveMapHandlers` references, so because the array variables are re-assigned in the `resetRetrieveHandlers` function, `retrieveSourceMap` and `retrieveFile` need to be re-created to point them to correct instances of `retrieveFileHandlers`/`retrieveMapHandlers`. This fixes: jestjs/jest#6424 jestjs/jest#7402
- Loading branch information