Skip to content

Conversation

vrubezhny
Copy link
Contributor

Currently not working example of using nyc: changed to nyc for coverage in unit tests:

npm run test:coverage

The source instrumenting is done by npm run test:instrument (invoked as part of test:coverage command)

The istanbul dependecy is not removed yet due to not changed:

  • test/coverage.ts
  • test/ui/cluster-ui-test.ts
  • test/ui/public-ui-test.js depending on istanbul API, which is subject to change after nyc finally provides a valuable coverage report.

@vrubezhny vrubezhny marked this pull request as draft February 27, 2025 17:29
@vrubezhny vrubezhny force-pushed the fix-replace-istanbul-with-nyc branch 4 times, most recently from 6d02f30 to 3190798 Compare March 4, 2025 12:49
Currently not working example of using `nyc`: changed for test coverage in `unit` tests:

```
npm run test:coverage
```

The source instrumenting is done by `npm run test:instrument` (invoked as part of `test:coverage` command)

The `istanbul` dependecy is not removed yet due to not changed:
- test/coverage.ts
- test/ui/cluster-ui-test.ts
- test/ui/public-ui-test.js
depending on `istanbul` API, which is subject to change after `nyc` finally provides a valuable coverage report.

Fixes: redhat-developer#3025

Signed-off-by: Victor Rubezhny <[email protected]>
@vrubezhny vrubezhny force-pushed the fix-replace-istanbul-with-nyc branch from 3190798 to a5f7ddc Compare March 4, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant