From c97a38e87003072157f31137b477ac60450bc85e Mon Sep 17 00:00:00 2001 From: Egil Hansen Date: Thu, 24 Dec 2020 10:17:10 +0000 Subject: [PATCH] Removed explicit namespace from project template --- .../template/CounterRazorTest.razor | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/bunit.template/template/CounterRazorTest.razor diff --git a/src/bunit.template/template/CounterRazorTest.razor b/src/bunit.template/template/CounterRazorTest.razor deleted file mode 100644 index 8c59bb704..000000000 --- a/src/bunit.template/template/CounterRazorTest.razor +++ /dev/null @@ -1,33 +0,0 @@ -@inherits TestContext -@* - This is a special Blazor component, which contains razor tests. - These tests are written in a mix of C# and Razor syntax. - Learn more at https://bunit.egilhansen.com/docs/getting-started/ -*@ -@code -{ - [Fact] - public void CounterStartsAtZero() - { - // Arrange - var cut = Render(@); - - // Assert that content of the paragraph shows counter at zero - cut.MarkupMatches(@

Counter

-

Current count: 0

- ); - } - - [Fact] - public void ClickingButtonIncrementsCounter() - { - // Arrange - var cut = Render(@); - - // Act - click button to increment counter - cut.Find("button").Click(); - - // Assert that the counter was incremented - cut.Find("p").MarkupMatches(@

Current count: 1

); - } -} \ No newline at end of file