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 d698ca6 commit 990e3e9Copy full SHA for 990e3e9
test/UnitTest/Utils/JSModuleTest.cs
@@ -102,6 +102,14 @@ public async Task JSModule_TaskCanceledException()
102
await module.InvokeAsync<int>("test");
103
}
104
105
+ [Fact]
106
+ public async Task JSModule_SetMemorial()
107
+ {
108
+ var js = new MockTaskCanceledObjectReference();
109
+ var module = new JSModule(js);
110
+ await module.SetMemorialModeAsync(true);
111
+ }
112
+
113
private class MockErrorJSObjectReference : MockJSObjectReference
114
{
115
protected override ValueTask DisposeAsyncCore(bool disposing)
0 commit comments