pulumi/sdk/nodejs/tests/runtime/langhost/cases
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
..
000.empty
001.one_resource
002.ten_resources
003.one_complex_resource
004.ten_complex_resources
005.resource_thens
006.asset
007.promises_io
008.ten_depends_on_resources
009.invoke
010.runtime_settings
011.unhandled_error
012.assets_archive
013.unhandled_promise_rejection
014.read_resource NodeJS now accepts unknown resource IDs for read resource (#14137) 2023-10-19 16:00:10 +00:00
015.runtime_sxs set mock monitor in global store (#17769) 2024-11-21 09:39:37 +00:00
016.promise_leak
017.parent_defaults
018.logging
019.stack_exports
020.property_dependencies
021.parent_child_dependencies
022.parent_child_dependencies_2
023.parent_child_dependencies_3
024.parent_child_dependencies_4
025.parent_child_dependencies_5
026.parent_child_dependencies_6
027.parent_child_dependencies_7
028.parent_child_dependencies_8
029.parent_child_dependencies_9
030.import_resource
040.run_error
041.component_opt_single_provider
042.component_opt_providers_array
043.depends_on_non_resource Implement `dependsOn` for invokes in the NodeJS SDK (#16560) 2024-07-03 14:47:59 +00:00
044.versions Add NodeJS test for parameterized providers #2 (#16901) 2024-08-09 08:34:29 +00:00
045.ignore_changes
046.recursive_stack_exports
047.exported_function
048.exported_promise_function
049.exported_async_function
050.resource_creation_in_function
051.resource_creation_in_function_with_result
052.resource_creation_in_async_function_with_result
060.provider_invokes
061.provider_in_parent_invokes
062.providerref_invokes
063.providerref_in_parent_invokes
064.async_components
065.large_resource
066.replace_on_changes
067.native_es_module Replace Rome with Biome in the NodeJS SDK (#16456) 2024-06-24 11:14:56 +00:00
068.remote_component_providers Replace Rome with Biome in the NodeJS SDK (#16456) 2024-06-24 11:14:56 +00:00
069.ambiguous_entrypoints
070.unusual_alias_names
071.large_alias_counts
072.large_alias_lineage_chains
073.component_dependencies
074.source_position
075.invoke_output_depends_on [Node.js] Allow specifiying dependencies for output invokes (#17632) 2024-11-20 16:03:11 +00:00
076.invoke_output_depends_on_non_resource [Node.js] Allow specifiying dependencies for output invokes (#17632) 2024-11-20 16:03:11 +00:00