Skip to content

qltysh/example-javascript

This branch is up to date with main.

Repository files navigation

Qlty Javascript Coverage Example

Qlty 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 for testing and generating coverage report.

For testing with Mocha, please check the mocha branch of this repo.

Requirements

  • Node 18 or above
  • Jest
  • Run tests with npm test
  • An account on Qlty (free for open source)
  • QLTY_COVERAGE_TOKEN is set as a GitHub Actions repository secret

Set up

See .github/workflows/main.yml in this repository for a basic configuration.

Documentation

Help and feedback

Join the our Slack Community for help and to provide feedback that we'll use to improve Qlty.

License

MIT License