pulumi/sdk/nodejs/tests
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
..
automation always run multiple stacks concurrently test locally (#17502) 2024-10-07 21:15:17 +00:00
cmd/dynamic Allow accessing configuration in Node.js dynamic providers (#17697) 2024-11-07 14:34:11 +00:00
runtime Fix checking assertions in the log callback of nodejs engine tests (#17715) 2024-11-07 21:21:27 +00:00
sxs_ts_test Replace Rome with Biome in the NodeJS SDK (#16456) 2024-06-24 11:14:56 +00:00
config.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
constants.ts ci: improve x-plat testing on Windows 2022-03-06 14:45:26 -08:00
init.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
iterable.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
options.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
output.spec.ts allow unknowns in apply during update (#15898) 2024-04-10 16:48:38 +00:00
provider.spec.ts Add google-protobuf types (#14422) 2023-10-27 09:55:44 +00:00
resource.spec.ts [sdk/nodejs] Fix provider for resource methods (#13796) 2023-08-30 14:49:53 +00:00
stackReference.spec.ts Fix TypeScript checking of Output maps of "any" values (#16959) 2024-08-15 19:09:21 +00:00
unwrap.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
util.ts Apply autoformat 2023-04-28 18:27:10 -04:00