https://pulumi.com logo
#typescript
Title
# typescript
p

proud-pizza-80589

01/01/2021, 6:15 PM
I’m trying to add tests to my pulumi code, in this case a CustomResource i’ve created. I have to use jest so the code is a bit different than the docs. My tests work and i can verify what i want to verify, but at the end it tries to log an unhandled rejection:
unhandled rejection: CONTEXT(221): monitor.registerResourceOutputs(...)-initial
Full test code and error here: https://gist.github.com/roderik/1ff8d4df9c76f13f7441f7e5c34cc7dd Any idea how i can fix this?
lol, in trying to be complete in writing an issue https://github.com/pulumi/pulumi/issues/6039 i rubberducked into the fix, a small typo 🤣 https://github.com/pulumi/pulumi/pull/6040
🎉 1
2 Views