Skip to content

Commit

Permalink
fix: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Nov 8, 2024
1 parent 36af3c4 commit 7e360df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public async Task ShouldSetValueAndSafeInStorage()
.SetVoidResult();
var cut = Render<ThemeToggler>();

cut.Find("span").Click();
cut.Find("div").Click();

setTheme.Invocations.ShouldNotBeNull().ShouldNotBeEmpty();
await localStorage.Received(1).SetItemAsync("preferred-theme", "dark");
Expand Down

0 comments on commit 7e360df

Please sign in to comment.