bun
bun copied to clipboard
Implement a `html` coverage reporter for `bun test`
Related
https://github.com/oven-sh/bun/issues/4015 https://github.com/oven-sh/bun/issues/3158#issuecomment-1672586105
any update?
+1
I've test :
nyc --reporter=html bun test src/**.test.ts --coverage
inspired by https://github.com/istanbuljs/nyc and it fail to find anything to report
i've also tested to use https://github.com/eugenezinovyev/lcov-viewer on the bun lcov generated file and i have a html report but not line based only file based so not usefull.
inspired by https://github.com/eugenezinovyev/lcov-viewer/issues/90 i've test to install sudo apt install lcov to use genhtml on the lcov file and it's better but not as good as istambul html report.