You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/01.setup/03.solution.code-coverage/README.mdx
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,12 +46,14 @@ export default defineConfig({
46
46
coverage: {
47
47
enabled: true,
48
48
include: ['src/**/*.ts'],
49
-
reporter: ['html'],
49
+
reporter: ['text', 'html'],
50
50
},
51
51
},
52
52
})
53
53
```
54
54
55
+
> I will also keep the default `'text` reporter so I can see the coverage summary in my terminal right next to the test run. You can combine as many test reporters as you need.
56
+
55
57
## View coverage report
56
58
57
59
There are multiple coverage reporters you can use to generate the coverage report, including at the same time. That is mostly so you can provide that report to other tooling to analyze.
0 commit comments