Does anyone have experience writing unit tests for...
# python
k
Does anyone have experience writing unit tests for Component Resources? I’m wondering if it’s possible to mock the call as it would come via the sdk
l
Hello @kind-jelly-61624, I have a small example of mocking available here: https://github.com/ringods/pulumi-samples/blob/main/component-resource/test/network.spec.ts Hope this helps.
k
Thanks @limited-rainbow-51650! This is great
l
Good to hear. Do reach out if you have additional questions.