Skip to content

Commit bda42eb

Browse files
Skip broken JSInterop tests
1 parent 38620b4 commit bda42eb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/JSInterop/Microsoft.JSInterop/test/DotNetDispatcherTest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void CannotInvokeUnsuitableMethods(string methodIdentifier)
7373
Assert.Equal($"The assembly '{thisAssemblyName}' does not contain a public method with [JSInvokableAttribute(\"{methodIdentifier}\")].", ex.Message);
7474
}
7575

76-
[Fact]
76+
[Fact(Skip = "https://github.com/aspnet/AspNetCore-Internal/issues/1733")]
7777
public Task CanInvokeStaticVoidMethod() => WithJSRuntime(jsRuntime =>
7878
{
7979
// Arrange/Act
@@ -109,7 +109,7 @@ public Task CanInvokeStaticNonVoidMethodWithoutCustomIdentifier() => WithJSRunti
109109
Assert.Equal(456, result.IntVal);
110110
});
111111

112-
[Fact]
112+
[Fact(Skip = "https://github.com/aspnet/AspNetCore-Internal/issues/1733")]
113113
public Task CanInvokeStaticWithParams() => WithJSRuntime(jsRuntime =>
114114
{
115115
// Arrange: Track a .NET object to use as an arg
@@ -140,7 +140,7 @@ public Task CanInvokeStaticWithParams() => WithJSRuntime(jsRuntime =>
140140
Assert.Equal(1299, resultDto2.IntVal);
141141
});
142142

143-
[Fact]
143+
[Fact(Skip = "https://github.com/aspnet/AspNetCore-Internal/issues/1733")]
144144
public Task CanInvokeInstanceVoidMethod() => WithJSRuntime(jsRuntime =>
145145
{
146146
// Arrange: Track some instance
@@ -155,7 +155,7 @@ public Task CanInvokeInstanceVoidMethod() => WithJSRuntime(jsRuntime =>
155155
Assert.True(targetInstance.DidInvokeMyInvocableInstanceVoid);
156156
});
157157

158-
[Fact]
158+
[Fact(Skip = "https://github.com/aspnet/AspNetCore-Internal/issues/1733")]
159159
public Task CanInvokeBaseInstanceVoidMethod() => WithJSRuntime(jsRuntime =>
160160
{
161161
// Arrange: Track some instance
@@ -206,7 +206,7 @@ public Task CannotUseDotNetObjectRefAfterReleaseDotNetObject() => WithJSRuntime(
206206
Assert.StartsWith("There is no tracked object with id '1'.", ex.Message);
207207
});
208208

209-
[Fact]
209+
[Fact(Skip = "https://github.com/aspnet/AspNetCore-Internal/issues/1733")]
210210
public Task CanInvokeInstanceMethodWithParams() => WithJSRuntime(jsRuntime =>
211211
{
212212
// Arrange: Track some instance plus another object we'll pass as a param
@@ -242,7 +242,7 @@ public void CannotInvokeWithIncorrectNumberOfParams()
242242
Assert.Equal("In call to 'InvocableStaticWithParams', expected 3 parameters but received 4.", ex.Message);
243243
}
244244

245-
[Fact]
245+
[Fact(Skip = "https://github.com/aspnet/AspNetCore-Internal/issues/1733")]
246246
public Task CanInvokeAsyncMethod() => WithJSRuntime(async jsRuntime =>
247247
{
248248
// Arrange: Track some instance plus another object we'll pass as a param

0 commit comments

Comments
 (0)