bcoe / bcoe/c8

Uncovered branch

Open
#196 5 comments 0 reactions 0 assignees View on GitHub
bug more-info-needed
Dominant language
JavaScript
Stars
2.1k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

```sh
node -v
# v13.7.0
```
I use the official binary form NodeJS.org on a 64bit GNU+Linux platform.

Hi. I’m trying to setup a [template repo.](//github.com/concatime/node-sample) using ESM. _Almost_ everything works. When I run the coverage, I get:
```
---------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
---------------------|---------|----------|---------|---------|-------------------
All files | 100 | 64.71 | 100 | 100 |
entities.ts | 100 | 60 | 100 | 100 | 35
inversify.config.ts | 100 | 100 | 100 | 100 |
types.ts | 100 | 100 | 100 | 100 |
---------------------|---------|----------|---------|---------|-------------------
```

My issue is that `entities.ts#35` is merely `export { Katana, Ninja, Shuriken };`.
In `inversify.config.ts`, I import everything `import { Katana, Ninja, Shuriken } from './entities';`, so this line should be covered. Am I doing something wrong, or is it a bug in C8?

Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.