Skip to content

Commit 87bf370

Browse files
authored
Merge pull request #323 from thalaeg/main
Update IJSRuntime docs
2 parents 9d1042a + 28911b2 commit 87bf370

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/site/docs/test-doubles/emulating-ijsruntime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ var plannedInvocation = ctx.JSInterop.SetupVoid("startAnimation");
5858
// only completes or throws, it doesn’t return a value.
5959
// Any calls to InvokeVoidAsync(...) up till this point will
6060
// have received an incompleted Task which the component
61-
// is likely waiting until the call to SetCompleted() below.
62-
plannedInvocation.SetCompleted();
61+
// is likely waiting until the call to SetVoidResult() below.
62+
plannedInvocation.SetVoidResult();
6363
```
6464

6565
## Verifying invocations

0 commit comments

Comments
 (0)