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 9d1042a commit 28911b2Copy full SHA for 28911b2
1 file changed
docs/site/docs/test-doubles/emulating-ijsruntime.md
@@ -58,8 +58,8 @@ var plannedInvocation = ctx.JSInterop.SetupVoid("startAnimation");
58
// only completes or throws, it doesn’t return a value.
59
// Any calls to InvokeVoidAsync(...) up till this point will
60
// have received an incompleted Task which the component
61
-// is likely waiting until the call to SetCompleted() below.
62
-plannedInvocation.SetCompleted();
+// is likely waiting until the call to SetVoidResult() below.
+plannedInvocation.SetVoidResult();
63
```
64
65
## Verifying invocations
0 commit comments