test(exec): add tests for coverage by nfischer · Pull Request #744 · shelljs/shelljs

Conversation

@nfischer

No logic change.

This adds one test to cover some missing lines, and adds some istanbul ignore
directives.

I see 100% line coverage for src/exec.js when running:

$ nyc --reporter=text --reporter=lcov ava --serial test/exec.js`

Fixes #742

No logic change.

This adds one test to cover some missing lines, and adds some `istanbul ignore`
directives.

I see 100% line coverage for `src/exec.js` when running:

```sh
$ nyc --reporter=text --reporter=lcov ava --serial test/exec.js`
```

Fixes #742

@codecov-io

@nfischer

self-LGTM since this has no change to production logic.

This was referenced

Aug 29, 2019

This was referenced

Mar 24, 2020

This was referenced

Apr 24, 2020

Labels

2 participants

@nfischer @codecov-io