What is the best way to mock xero-node in unit tests? #558
Unanswered
createthis
asked this question in
Q&A
Replies: 1 comment
-
Thank you very much for the topic. I'd like to share as an example: https://www.npmjs.com/package/@elastic/elasticsearch-mock
I'm not familiar how is implemented elasticsearch-mock as a package but my expectations are if xero-node has an equivalent to be something like elasticsearch-mock |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When working with other vendor APIs, there are usually mock packages available to make writing unit tests considerably easier.
Examples:
I don't see an equivalent for
xero-node
.What is the best way to mock
xero-node
in unit tests, currently?Beta Was this translation helpful? Give feedback.
All reactions