This message was deleted.
# general
s
This message was deleted.
l
I use TDD with all my projects across all my clients. It's nice to be able to upskill the appdevs when demoing the infra code and commit history to them 🙂
Always TS + mocha/jest. The
promise()
method has to be exposed in every file, which is a bit annoying:
Copy code
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 🙂