Skip to content
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

Unit tests #524

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

doug-newman-nasa
Copy link

@doug-newman-nasa doug-newman-nasa commented Jan 8, 2025

fixes #522
I've added the following in support of a unit test suite for STACBrowser:

  1. Jest unit testing framework to package.json
  2. Jest run script and coverage commands so that each 'npm test' will report and record code coverage with a desired goal of 80%
  3. Provided an example unit test suite for Utils.js (the first two functions)
  4. Minor update to README to document unit testing and fix the npm install command in Contributing section

@m-mohr m-mohr changed the title 522 jest code coverage Unit tests Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a unit test suite
1 participant