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 7cfeb08 commit 925bdc7Copy full SHA for 925bdc7
src/BlazorWebFormsComponents.Test/ListView/WebFormsEvents.razor
@@ -1,7 +1,7 @@
1
@inherits TestComponentBase
2
3
<Fixture
4
- Test="FirstTest"
+ TestAsync="FirstTest"
5
>
6
<ComponentUnderTest>
7
<ListView Items="Widget.SimpleWidgetList" @ref="theListView"
@@ -29,7 +29,7 @@
29
30
bool disposed = false;
31
32
- void FirstTest()
+ async Task FirstTest()
33
{
34
35
var cut = GetComponentUnderTest();
@@ -41,7 +41,7 @@
41
42
cut.FindAll("span").Count().ShouldBe(3);
43
44
- theListView.DisposeAsync().GetAwaiter().GetResult();
+ await theListView.DisposeAsync();
45
46
disposed.ShouldBeTrue();
47
0 commit comments