pulumi/sdk/nodejs/tests/runtime
Thomas Gummerer 12d8351f91
set mock monitor in global store (#17769)
Currently when setting a mock monitor, we only set it in a local
variable. Unfortunately it is possible for multiple @pulumi/pulumi
modules to be loaded at the same time. This means one of them might have
the mock monitor loaded, while the other versions don't, resulting in
confusing behaviour for the user.

Fix this by setting the mock monitor in the global settings, so it's
available in all versions of the SDK.

Fixes https://github.com/pulumi/pulumi/issues/12141
2024-11-21 09:39:37 +00:00
..
langhost set mock monitor in global store (#17769) 2024-11-21 09:39:37 +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