Closed jamesmorgan closed 2 years ago
Hey @jamesmorgan, I would recommend sinon
for unit tests and using the library as-is for integration tests (with a proper clean-up at the end of the test suite).
Here's some useful documentation for stubbing with sinon
:
Hi KMS library maintainers,
I am implementing a service which will leverage google KMS to encrypt/decrypt some data within a Google firestore project.
Is there a recommended way to using this library in a test scenario?
Any insights would be good.
Cheers