pulumi/sdk/nodejs/tests/runtime
Julien 009919a0d5
Fix checking assertions in the log callback of nodejs engine tests (#17715)
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.
2024-11-07 21:21:27 +00:00
..
langhost Fix checking assertions in the log callback of nodejs engine tests (#17715) 2024-11-07 21:21:27 +00:00
testdata Fix usage of getters and setters in Lambda callback functions (#16568) 2024-07-08 09:51:12 +00:00
asyncIterableUtil.spec.ts Eliminate async promise executor. 2023-05-11 13:05:43 -04:00
closure-integration-tests.ts Use @types/node matching the ts version for integration tests (#17185) 2024-09-06 09:21:47 +00:00
findWorkspaceRoot.spec.ts Fix codepaths computation when working dir is nested relative to package.json (#15601) 2024-03-08 16:16:47 +00:00
install-package-tests.ts Vendor TypeScript and ts-node (#15622) 2024-04-10 15:26:37 +00:00
pack.ts Vendor TypeScript and ts-node (#15622) 2024-04-10 15:26:37 +00:00
props.spec.ts Replace Rome with Biome in the NodeJS SDK (#16456) 2024-06-24 11:14:56 +00:00
registrations.spec.ts Suppress grpc rejections due to the resource monitor terminating 2023-06-14 14:43:32 -07:00
rpc.spec.ts [sdk/nodejs] Maintain secretness and input dependencies of output invokes (#17479) 2024-10-05 00:40:19 +00:00
settings.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00