Skip to content

Commit 1273d9c

Browse files
committed
Jest coverage upload
1 parent e424b20 commit 1273d9c

File tree

6 files changed

+2045
-975
lines changed

6 files changed

+2045
-975
lines changed

.nycrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
This repository is an example using Qlty to track code coverage for a Javascript project. Coverage data is generated during test suite run and then uploaded to Qlty.
66

7-
This repository uses [Mocha](https://github.com/mochajs/mocha) for testing, [mocha lcov reporter](https://github.com/StevenLooman/mocha-lcov-reporter) and [nyc](https://github.com/istanbuljs/nyc) generating and outputing coverage report.
7+
This repository uses [Jest](https://jestjs.io/) for testing and generating coverage report.
8+
9+
For testing with [Mocha](https://github.com/mochajs/mocha), please check the mocha branch of this repo.
810

911
## Requirements
1012

1113
- Node 18 or above
12-
- [Mocha](https://github.com/mochajs/mocha)
13-
- [Mocha lcov reporter](https://github.com/StevenLooman/mocha-lcov-reporter)
14-
- [Nyc](https://github.com/istanbuljs/nyc)
14+
- [Jest](https://jestjs.io/)
1515
- Run tests with `npm test`
1616
- An account on Qlty (free for open source)
1717
- `QLTY_COVERAGE_TOKEN` is set as a GitHub Actions [repository secret](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)

0 commit comments

Comments
 (0)