https://pulumi.com logo
n

nice-cat-91582

09/29/2019, 7:30 PM
anyone have a good idea of how to test a manually defined CallbackFunction? The built function has some Ouputs compiled in it, so it's not working for me to just call the function directly
w

white-balloon-205

09/29/2019, 7:44 PM
You could have the references to the Outputs indirect though a function which can mock the values when under test? Depends a bit how you are structuring your tests - but something along those lines seems like it should work.