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

refine jest configuration #72

Merged
merged 4 commits into from
Dec 15, 2023
Merged

refine jest configuration #72

merged 4 commits into from
Dec 15, 2023

Conversation

tukib
Copy link
Member

@tukib tukib commented Dec 8, 2023

This PR:

  • fixes jest not working correctly with ES Module JavaScript
  • adds generated coverage report to gitignore

@tukib tukib requested a review from seanmakesgames December 8, 2023 07:41
@tukib
Copy link
Member Author

tukib commented Dec 8, 2023

I did consider the option of writing a test for this, but felt it would be excessive for something we would discover while testing anyway. (would need at least 3 test files to check TS/ESM/CJS support, minimatch dependency or even more test files)
Are we ever interested in writing tests for static configurations?

Copy link
Member

@seanmakesgames seanmakesgames left a comment

Choose a reason for hiding this comment

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

Can you update docs / readme about how to write tests re: these changes? mjs v js v ts

@seanmakesgames
Copy link
Member

break out separate problems you are solving into separate prs / issues

@seanmakesgames seanmakesgames merged commit 421665a into main Dec 15, 2023
3 checks passed
@seanmakesgames seanmakesgames deleted the tukib/jest-config branch December 15, 2023 23:47
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.

2 participants