pulumi/sdk/nodejs/tests/runtime/langhost
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
..
cases set mock monitor in global store (#17769) 2024-11-21 09:39:37 +00:00
run.spec.ts [Node.js] Allow specifiying dependencies for output invokes (#17632) 2024-11-20 16:03:11 +00:00