Skip to content

Conversation

@dannyprikaz
Copy link
Member

Fixes #1900

What changes did you make and why did you make them ?

  • Removed any old configs related to @shelf/jest-mongodb
  • Created a new method in setup-test.js for creating a database without clearing the collections after each test
  • Changed the test environment to node because the default (jsdom) makes Mongoose log a warning on each test

Copy link
Member

@trillium trillium left a comment

Choose a reason for hiding this comment

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

Thanks so much for your work Danny, we reviewed it in the call

@trillium trillium merged commit 21c366d into hackforla:development May 6, 2025
2 of 5 checks passed
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.

Reconfigure Jest for new backend integration tests and clear outdated configs

2 participants