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

chore: replace mocha, chai, and sinon with vitest #40

Merged
merged 5 commits into from
Sep 19, 2023
Merged

Conversation

dustin-jw
Copy link
Contributor

@dustin-jw dustin-jw commented Sep 19, 2023

Description

This work removes the mocha testing dependencies, replacing them with vitest, which is like Jest, but with better ES module support and improved performance. It also adds a test to prove out the functionality, since there were none before 😅

Closes #29
Closes #26

To Validate

  1. Pull down this branch
  2. Run npm ci
  3. Run npm run test to do a one-time run of the test suite
  4. Run npm run test:watch to continuously run tests after changes to either tests or the files/functions that are being tested
  5. Run npm run test:ci to generate a coverage report

Copy link
Contributor

@rise-erpelding rise-erpelding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! All test scripts appear to be working as intended!

@dustin-jw dustin-jw merged commit d3cfcf8 into main Sep 19, 2023
2 checks passed
@dustin-jw dustin-jw deleted the chore--use-vitest branch September 19, 2023 20:59
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.

Evaluate tooling and dependencies Update JS Testing
2 participants