Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Be more friendly to ts-node. (#352)
ts-node gets angry when coverageData.hash is set after coverageData is declared, add it to the initial object instead of setting it separately. Also only output `Function` if a replacement is found in scope. Fixes #336
- Loading branch information
1 parent
deb3963
commit 40d15f5
Showing
3 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters