An open API service indexing awesome lists of open source software.

https://github.com/qltysh/example-javascript


https://github.com/qltysh/example-javascript

Last synced: 9 months ago
JSON representation

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)