sparse-intern-71089
06/14/2023, 5:04 AMlittle-cartoon-10569
06/14/2023, 8:29 PMlittle-cartoon-10569
06/14/2023, 8:32 PMpromise()
method has to be exposed in every file, which is a bit annoying:
declare module "@pulumi/pulumi" {
export interface OutputInstance<T> {
promise(withUnknowns?: boolean): Promise<T>;
}
}
It'd be great if there were equivalent of expect().resolves
and expect().rejects
(and chai-as-promised's eventually
) for Outputs 🙂