mirror of https://github.com/pulumi/pulumi.git
009919a0d5
While adding a new test in https://github.com/pulumi/pulumi/pull/17632 I noticed that assertions or thrown errors in the log callback are not actually checked. This PR fixes this by tracking any error thrown from the callback and then failing the test if one was found. Somewhat surprisingly, we did not break anything, even though the tests didn't always check what we thought they did. I validated the fix by intentionally breaking some of the tests and asserting that they started failing. |
||
---|---|---|
.. | ||
automation | ||
cmd/dynamic | ||
runtime | ||
sxs_ts_test | ||
config.spec.ts | ||
constants.ts | ||
init.spec.ts | ||
iterable.spec.ts | ||
options.spec.ts | ||
output.spec.ts | ||
provider.spec.ts | ||
resource.spec.ts | ||
stackReference.spec.ts | ||
unwrap.spec.ts | ||
util.ts |