Commit 16a61e4
committed
Fix coverage plugin not writing output - use recorder for async generation
- Coverage generation was async but not awaited by event.all.after
- Process could exit before coverage file was written
- Now uses recorder.add() to ensure coverage generation completes
- Fixes 'writing output/coverage' message not appearing in tests1 parent 4654f83 commit 16a61e4
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
155 | 163 | | |
156 | 164 | | |
157 | 165 | | |
| |||
0 commit comments