8 references to UseEnvironmentForTesting
Aspire.Cli.Tests (8)
Commands\UpdateCommandTests.cs (2)
705
using var npmScope = NpmInstallDetection.
UseEnvironmentForTesting
(CreateNpmInstallEnvironment());
1185
using var npmScope = NpmInstallDetection.
UseEnvironmentForTesting
(CreateNpmInstallEnvironment());
Utils\CliUpdateNotificationServiceTests.cs (1)
293
using var npmScope = NpmInstallDetection.
UseEnvironmentForTesting
(CreateNpmInstallEnvironment());
Utils\NpmInstallDetectionTests.cs (5)
13
using var scope = NpmInstallDetection.
UseEnvironmentForTesting
(new Dictionary<string, string?>
37
using var scope = NpmInstallDetection.
UseEnvironmentForTesting
(new Dictionary<string, string?>
51
using var scope = NpmInstallDetection.
UseEnvironmentForTesting
(new Dictionary<string, string?>
65
using var baseline = NpmInstallDetection.
UseEnvironmentForTesting
(new Dictionary<string, string?>());
68
using (NpmInstallDetection.
UseEnvironmentForTesting
(new Dictionary<string, string?>