Commit 16f1a6d
authored
Fix
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#7402resetRetrieveHandlers to reset retrieveSourceMap and retrieveFile functions1 parent 80643a6 commit 16f1a6d
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
560 | 563 | | |
0 commit comments