Hello, trying to get some unit tests running. I ba...
# typescript
l
Hello, trying to get some unit tests running. I base myself on this example: https://github.com/pulumi/examples/blob/master/testing-unit-ts/ec2tests.ts Although I invoke the
done
function in both paths of my
if-else
, I still get this error:
Copy code
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/r.de.smet/Projects/pulumi-libs/test/gcp/network/index.spec.ts)
The only difference I have is that I use
ts-mocha
rather than
mocha -r ts-node/register