| File: WorkflowScripts\DashboardExperienceScriptTests.cs | Web Access |
| Project: src\tests\Infrastructure.Tests\Infrastructure.Tests.csproj (Infrastructure.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Aspire.TestUtilities; using Xunit; namespace Infrastructure.Tests; public class DashboardExperienceScriptTests(ITestOutputHelper output) { [Fact] [RequiresTools(["node"])] public async Task ExperienceRedirectsMatchRoutesCaseInsensitively() { using var command = new NodeCommand(output) .WithWorkingDirectory(RepoRoot.Path) .WithTimeout(TimeSpan.FromSeconds(60)); var result = await command.ExecuteScriptAsync(Path.Combine(RepoRoot.Path, "tests", "Aspire.Dashboard.Components.Tests", "JavaScript", "DashboardExperience.test.mjs")); Assert.Equal(0, result.ExitCode); } }