Join Slack
Powered by
I am having difficulty with my mocha unit test. I ...
# typescript
r
rough-window-15889
05/17/2022, 6:56 PM
I am having difficulty with my mocha unit test. I got my mocks set up and working but I hit a promise leak when I get to a stack reference. Is there an easy way to mock/stub a stack reference?
rough-window-15889
05/17/2022, 8:02 PM
I found an issue opened related to this
https://github.com/pulumi/pulumi/issues/9212
Anyone have a workaround?
rough-window-15889
05/17/2022, 8:33 PM
Update: I did a workaround using sinon and stubbing requireOutput on the StackReference.
Open in Slack
Previous
Next