-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix: tests for Jest 27 #10
Conversation
ae305d2
to
c1a25be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anmonteiro Thanks, sorry I missed this. Maybe worth adding an entry in the changelog?
[@@@mel.config { flags = [| "--preamble"; | ||
{| | ||
/** | ||
* @jest-environment jsdom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be added in jest.config.js
? Or is it beneficial to keep it here for more accuracy?
package.json
Outdated
"@testing-library/jest-dom": "^6.4.1", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"jsdom": "^24.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is needed because jest-environment-jsdom
already depends on it: https://www.npmjs.com/package/jest-environment-jsdom?activeTab=dependencies.
However, we could update the opam depext
field to reflect this new dependency.
* main: comment snapshotting for now fix call to npm-check-deps add ci chore: require dune 3.9 to pick up `melange.emit` fix from 3.8.2 chore: add changelog for 0.1.1 Revert "fix(opam): require melange v3"
a231617
to
dc60420
Compare
@anmonteiro Thanks, I'm gonna merge this as it unblocks the work in #12. The nix build is failing for some reason, but now that there's opam pipeline at least we can keep checking things work. Could you please help fix it? 🙏 |
No description provided.