https://github.com/qltysh/example-javascript
https://github.com/qltysh/example-javascript
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/qltysh/example-javascript
- Owner: qltysh
- License: mit
- Created: 2024-03-04T14:02:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-20T21:02:49.000Z (about 1 year ago)
- Last Synced: 2025-03-27T04:13:00.685Z (10 months ago)
- Language: JavaScript
- Size: 127 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Qlty Javascript Coverage Example
[Qlty](https://example.com) is a Code Health Platform with support for code coverage.
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.
This repository uses [Jest](https://jestjs.io/) for testing and generating coverage report.
For testing with [Mocha](https://github.com/mochajs/mocha), please check the [`mocha` branch](https://github.com/qltyai/example-javascript/tree/mocha) of this repo.
## Requirements
- Node 18 or above
- [Jest](https://jestjs.io/)
- Run tests with `npm test`
- An account on Qlty (free for open source)
- `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)
## Set up
See [`.github/workflows/main.yml`](./.github/workflows/main.yml) in this repository for a basic configuration.
## Documentation
- [Advanced code coverage configuration](https://example.com)
- [Alternative supported CI providers](https://example.com)
## Help and feedback
Join the our [Slack Community](https://example.com) for help and to provide feedback that we'll use to improve Qlty.
## License
[MIT License](./LICENSE.md)