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

Jest28 #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Jest28 #13

wants to merge 3 commits into from

Conversation

ianparkinson
Copy link

Fixes #12, and updates devDependencies so that tests are run against Junit28.

Jest 28 now requires the jsdom environment to be installed separately
(https://jestjs.io/docs/upgrading-to-jest28#jsdom) and I found I had to
add /** @jest-environment jsdom */ at the start of the test files. It
seems cleaner to simplify these tests so that they test the returned
string directly, instead of storing it in the DOM.
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.

mustache-jest fails with Jest 28
1 participant