We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8e800 commit 50f008eCopy full SHA for 50f008e
test/UnitTest/Services/BrowserFingerServiceTest.cs
@@ -15,4 +15,13 @@ public async Task GetFingerCodeAsync_Ok()
15
var code = await service.GetFingerCodeAsync();
16
Assert.Equal("9527", code);
17
}
18
+
19
+ [Fact]
20
+ public async Task GetClientHubIdAsync_Ok()
21
+ {
22
+ Context.JSInterop.Setup<string?>("getClientHubId").SetResult("9528");
23
+ var service = Context.Services.GetRequiredService<IBrowserFingerService>();
24
+ var code = await service.GetClientHubIdAsync();
25
+ Assert.Equal("9528", code);
26
+ }
27
0 commit comments