-
Notifications
You must be signed in to change notification settings - Fork 83
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
Not working on Ubuntu 22.04 #351
Comments
I've just run into this same issue. |
For anyone else who winds up here, this isn't an issue with either Jest or the jest-mongodb plugin but with MongoDB's current incompatibility with Ubuntu 22.04. Was able to fix the issue by installing MongoDB Community but had to manually install libssl1.1 which is not recommended for security reasons. Seems this issue is known about by the Mongo team and they are actively working on a fix: https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931 In the meantime, if you want to force install libssl1.1 to get this working, instructions are here: https://askubuntu.com/questions/1403619/mongodb-install-fails-on-ubuntu-22-04-depends-on-libssl1-1-but-it-is-not-insta |
I think upstream might be fixed, right? typegoose/mongodb-memory-server#732 |
This has been resolved.
https://www.mongodb.com/community/forums/t/jest-mongo-and-ubuntu-22-04/208722/3?u=abdul_rauf |
Version: 3.0.1
Noticing a specific error since upgrading my Ubuntu workstation to 22.04.
Noticed the issue reported on the Jest Github but it seems to be specific to this package.
jestjs/jest#12892
Seems that this is Ubuntu-specific (and particularly this version as the tests ran fine before upgrading). Tested the exact same test code on my Mac OS laptop and it ran as expected.
Steps to reproduce
Running
jest
in a file that's set up to usejest-mongodb
Expected behavior
Expect a test to run successfully
Actual behavior
Run a test and get the following error:
jest.config.js
jest.mongodb-config.js
Environment
The text was updated successfully, but these errors were encountered: