Open
Description
Hello!
Less of a bug, more of support issue.
Working with this, wanted to try and get code coverage, and currently seeing this:
ℹ -------------------------------------------------------------------------------
ℹ file | line % | branch % | funcs % | uncovered lines
ℹ -------------------------------------------------------------------------------
ℹ src/providers/dot-prop.spec.ts | 100.00 | 100.00 | 100.00 |
ℹ src/providers/dot-prop.ts | 100.00 | 86.27 | 100.00 |
ℹ -------------------------------------------------------------------------------
ℹ all files | 100.00 | 90.79 | 100.00 |
ℹ -------------------------------------------------------------------------------
I wanted to use some form of vscode extension to highlight the areas that weren't tested, but I have noticed none seem to support json
format only html
.
I am currently using this command:
NODE_V8_COVERAGE=coverage node --experimental-test-coverage --report-dir=./src --test-reporter=spec --loader tsx --test ./src/**/*.spec.ts
And it's fine to display it in the console, but how would I get this written to HTML or something else? Are there any built in options?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels