You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/bunit.web.tests/JSInterop/BunitJSInteropTest.net5.cs
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -128,10 +128,10 @@ public void Test310(string identifier)
128
128
.ShouldHaveSingleItem()
129
129
.ShouldBe(newJSRuntimeInvocation(
130
130
identifier,
131
-
null,
131
+
cancellationToken:null,
132
132
Array.Empty<object>(),
133
133
typeof(string),
134
-
"InvokeUnmarshalled"));
134
+
invocationMethodName:"InvokeUnmarshalled"));
135
135
}
136
136
137
137
[Theory(DisplayName="When calling InvokeUnmarshalled(identifier, arg0), then the invocation should be visible from the Invocations list"),AutoData]
@@ -146,10 +146,10 @@ public void Test306(string identifier, string arg0)
146
146
.ShouldHaveSingleItem()
147
147
.ShouldBe(newJSRuntimeInvocation(
148
148
identifier,
149
-
null,
150
-
new[]{arg0},
151
-
typeof(string),
152
-
"InvokeUnmarshalled"));
149
+
cancellationToken:null,
150
+
args:new[]{arg0},
151
+
resultType:typeof(string),
152
+
invocationMethodName:"InvokeUnmarshalled"));
153
153
}
154
154
155
155
[Theory(DisplayName="When calling InvokeUnmarshalled(identifier, arg0, arg1), then the invocation should be visible from the Invocations list"),AutoData]
[Theory(DisplayName="When calling InvokeUnmarshalled(identifier, arg0, arg1, arg2), then the invocation should be visible from the Invocations list"),AutoData]
Copy file name to clipboardExpand all lines: tests/bunit.web.tests/JSInterop/BunitJSObjectReferenceTest.cs
+24-24Lines changed: 24 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -325,10 +325,10 @@ public void Test310(string identifier)
325
325
.ShouldHaveSingleItem()
326
326
.ShouldBe(newJSRuntimeInvocation(
327
327
identifier,
328
-
null,
329
-
Array.Empty<object>(),
330
-
typeof(string),
331
-
"InvokeUnmarshalled"));
328
+
cancellationToken:null,
329
+
args:Array.Empty<object>(),
330
+
resultType:typeof(string),
331
+
invocationMethodName:"InvokeUnmarshalled"));
332
332
}
333
333
334
334
[Theory(DisplayName="When calling InvokeUnmarshalled(identifier, arg0), then the invocation should be visible from the Invocations list"),AutoData]
@@ -343,10 +343,10 @@ public void Test306(string identifier, string arg0)
343
343
.ShouldHaveSingleItem()
344
344
.ShouldBe(newJSRuntimeInvocation(
345
345
identifier,
346
-
null,
347
-
new[]{arg0},
348
-
typeof(string),
349
-
"InvokeUnmarshalled"));
346
+
cancellationToken:null,
347
+
args:new[]{arg0},
348
+
resultType:typeof(string),
349
+
invocationMethodName:"InvokeUnmarshalled"));
350
350
}
351
351
352
352
[Theory(DisplayName="When calling InvokeUnmarshalled(identifier, arg0, arg1), then the invocation should be visible from the Invocations list"),AutoData]
[Theory(DisplayName="When calling InvokeUnmarshalled(identifier, arg0, arg1, arg2), then the invocation should be visible from the Invocations list"),AutoData]
0 commit comments