jest-mongodb
jest-mongodb copied to clipboard
How to use both jest-mongodb and jest-dynamodb
Thank you for great support for testing with MongoDB and DynamoDB with Jest.
In one repo I have multiple services connecting to either MongoDB and DynamoDB, is it possible to combine both presets to use them together?
Would probably need to create a new jest environment of your own that derives from both.
this feature would be great, actually I have two separate jest environments to execute my tests. Tried to have a jest environment that derives from both but with no success.
An example for this would be great. I have the same scenario: One library with several database adapters