Hi everyone,
I'm wondering what would be considered the best practice here :
I want to set up integration tests on an api that we are building that helps us handle some specific use cases that could not be handled directly with a FRONT <> Medplum Relation.
So it goes like FRONT <> API <> Medplum.
Some use cases imply the medplumClient to use a superAdmin Client (for example modifying information in the User or modify info from server scoped pratitioner).
What would you recommend :
- Use MedplumMock() in our tests ?
- Setup a real instance of Medplum using docker compose before running the tests and run the tests against a real environnement ?
I'd love to hear what you think about this @User @User !
Thanks