-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
HMR Spec Coverage
foo.spec.js -> foo.js: overwrite coverage info only for foo.js
On HMR:
- clear coverage counters for reloaded modules
- run reloaded code
- replace coverage counters for reloaded modules
Other Notes:
// TODO: Allow "merging" of same-hash coverage where the counters are
// incremented. This could be for someone who has to run a program
// several times for the same files to cover everything.