I am having difficulty with my mocha unit test. I ...
# typescript
r
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?
I found an issue opened related to this https://github.com/pulumi/pulumi/issues/9212 Anyone have a workaround?
Update: I did a workaround using sinon and stubbing requireOutput on the StackReference.