"as const" is marked as uncovered in coverage reports
Open
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
In typescript, `as const` is being flagged as uncovered even though it's part of typescript and not testable as far as I'm aware.
```ts
export const QueryModeValues = ['button', 'live'] as const
```
* **Version**: c8 7.12.0 with Vitest 0.29.2
* **Platform**: Node 18.9.1 on Windows 11
Ignoring the line works fine but we'd prefer to not have to ignore these lines everywhere.
Contributor guide
Assessment
This issue has not been assessed yet.