Skip to content

[Draft] Migrate from istanbul to nyc #3025 #4862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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 <vrubezhny@redhat.com>
@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