about summary refs log tree commit diff
path: root/Utilities/LibMatrix.E2eeTestKit/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/LibMatrix.E2eeTestKit/Program.cs')
-rw-r--r--Utilities/LibMatrix.E2eeTestKit/Program.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Utilities/LibMatrix.E2eeTestKit/Program.cs b/Utilities/LibMatrix.E2eeTestKit/Program.cs
new file mode 100644
index 0000000..32cb883
--- /dev/null
+++ b/Utilities/LibMatrix.E2eeTestKit/Program.cs
@@ -0,0 +1,11 @@
+using Microsoft.AspNetCore.Components.Web;

+using Microsoft.AspNetCore.Components.WebAssembly.Hosting;

+using LibMatrix.E2eeTestKit;

+

+var builder = WebAssemblyHostBuilder.CreateDefault(args);

+builder.RootComponents.Add<App>("#app");

+builder.RootComponents.Add<HeadOutlet>("head::after");

+

+builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });

+

+await builder.Build().RunAsync();