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

Add unit tests #261

Merged
merged 22 commits into from
Aug 6, 2023
Merged

Add unit tests #261

merged 22 commits into from
Aug 6, 2023

Conversation

willeastcott
Copy link
Contributor

@willeastcott willeastcott commented Jan 9, 2023

Initial attempt to add unit testing for PCUI, based on Node's brand new (v18+) test runner and jsdom.

These tests barely scratch the surface of the API but is meant to be a starting framework into which more tests can be written over time. The tests are now run as part of our GitHub Actions.

@willeastcott willeastcott changed the title Add unit tests for PCUI Add unit tests Jan 9, 2023
@willeastcott willeastcott self-assigned this Jan 18, 2023
@willeastcott willeastcott added the enhancement New feature or request label Jan 18, 2023
@willeastcott willeastcott marked this pull request as ready for review January 18, 2023 18:00
@willeastcott willeastcott requested a review from a team January 18, 2023 18:54
@ellthompson ellthompson self-requested a review January 20, 2023 15:56
@epreston
Copy link
Contributor

epreston commented Aug 6, 2023

I'd like to contribute to this, when will this be merged ?

If you like jsdom, and rollup, may I recommend an existing framework (recommended by both on their front page) that gracefully wraps both ?

@willeastcott
Copy link
Contributor Author

@epreston Y'know, there's no decent reason why I never merged this. Actually, it was sort of a little experiment because I wanted to give the new Node.js built-in test runner a try. I'll merge it now.

@willeastcott willeastcott merged commit 1b66d6a into main Aug 6, 2023
6 checks passed
@willeastcott willeastcott deleted the unit-tests branch August 6, 2023 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants