Skip to content

Comments

Refactor mock db test setup#645

Merged
victor-enogwe merged 5 commits intomainfrom
refactor-mock-db-test-setup
Jul 22, 2025
Merged

Refactor mock db test setup#645
victor-enogwe merged 5 commits intomainfrom
refactor-mock-db-test-setup

Conversation

@victor-enogwe
Copy link
Contributor

What dows this PR do?

This PR uses the MongoMemoryServer instance started in the @shelf/jest-mongodb test environment's preset.

Use Case

closes #644

@victor-enogwe victor-enogwe force-pushed the refactor-mock-db-test-setup branch from e235b06 to a2c67d2 Compare July 22, 2025 16:43
@victor-enogwe
Copy link
Contributor Author

Will merge this - Failing tests are flaky and will be fixed in subsequent PR.

@victor-enogwe victor-enogwe merged commit 5394a96 into main Jul 22, 2025
3 of 5 checks passed
@victor-enogwe victor-enogwe deleted the refactor-mock-db-test-setup branch July 22, 2025 17:44
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.

Refactor Test MongoMemoryServer Initialization

1 participant