2 instantiations of JavaScriptLaunchConfiguration
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
2841
return Task.FromResult(new
JavaScriptLaunchConfiguration
(effectiveLaunchConfigType)
2891
return new
JavaScriptLaunchConfiguration
("node")
19 references to JavaScriptLaunchConfiguration
Aspire.Hosting.JavaScript (3)
JavaScriptHostingExtensions.cs (3)
2846
LaunchMethod = isPackageManagerScript ?
JavaScriptLaunchConfiguration
.LaunchMethodPackageManager :
JavaScriptLaunchConfiguration
.LaunchMethodDirect,
2896
LaunchMethod =
JavaScriptLaunchConfiguration
.LaunchMethodPackageManager,
Aspire.Hosting.JavaScript.Tests (16)
AddBunAppTests.cs (4)
368
var
launchConfig = await CreateLaunchConfigurationAsync(bunApp.Resource);
389
var
launchConfig = await CreateLaunchConfigurationAsync(bunApp.Resource);
396
private static async Task<
JavaScriptLaunchConfiguration
> CreateLaunchConfigurationAsync(IResource resource)
399
return Assert.IsType<
JavaScriptLaunchConfiguration
>(
AddDenoAppTests.cs (8)
2571
var
launchConfig = await CreateLaunchConfigurationAsync(denoApp.Resource);
2592
var
launchConfig = await CreateLaunchConfigurationAsync(denoApp.Resource);
2611
var
launchConfig = await CreateLaunchConfigurationAsync(denoApp.Resource);
2630
var
launchConfig = await CreateLaunchConfigurationAsync(denoApp.Resource);
2646
var
launchConfig = await CreateLaunchConfigurationAsync(denoApp.Resource);
2663
var
launchConfig = await CreateLaunchConfigurationAsync(denoApp.Resource);
2684
private static async Task<
JavaScriptLaunchConfiguration
> CreateLaunchConfigurationAsync(
2691
return Assert.IsType<
JavaScriptLaunchConfiguration
>(
AddNodeAppTests.cs (4)
602
var
launchConfig = await CreateLaunchConfigurationAsync(nodeApp.Resource);
618
var
launchConfig = await CreateLaunchConfigurationAsync(viteApp.Resource);
628
private static async Task<
JavaScriptLaunchConfiguration
> CreateLaunchConfigurationAsync(IResource resource)
631
return Assert.IsType<
JavaScriptLaunchConfiguration
>(