worried-engineer-33884
06/25/2019, 7:16 PMcreate
to fail?early-musician-41645
06/25/2019, 7:18 PMtall-librarian-49374
06/25/2019, 7:45 PMclever-sunset-76585
06/27/2019, 2:16 PMworried-engineer-33884
07/01/2019, 5:07 PMconst foo = someOutput.apply(value => {
throw new Error("this will never resolve");
})
how would i assert the error or failure in my mocha tests?clever-sunset-76585
07/01/2019, 5:48 PMapply
. Have you looked at the blog post Joe did on unit testing? https://blog.pulumi.com/testing-your-infrastructure-as-code-with-pulumi …not sure if you did already, but perhaps something in there might provide a hint to something you could try.worried-engineer-33884
07/01/2019, 6:04 PMearly-musician-41645
07/10/2019, 5:29 PM