Replies: 2 comments 5 replies
-
Though it is not typed (at the moment but this discussion item makes me think about it) there is a |
Beta Was this translation helpful? Give feedback.
-
I'm also having some problems in writing tests - I've been mocking the underlying dynamoDB doc client - but this requires detailed knowledge of the requests being made to DynamoDB, and these are abstracted by ElectroDB, so its very problematic. Are there any examples of how mocking should be done when using Electro? |
Beta Was this translation helpful? Give feedback.
-
I'm looking for a way to mock the get/create/update/delete function for testing. I think I actually have to mock the
go
function. Is there a way to mock onlygo
or do I have to mock theget
function to return a mockedgo
?That is where I'm currently stuck with:
Beta Was this translation helpful? Give feedback.
All reactions