Skip to content

Commit 0e0a867

Browse files
committed
fix: Allow obsolete InvokeUnmarshalled method
1 parent b2074c9 commit 0e0a867

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/bunit.web.tests/JSInterop/BunitJSInteropTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#pragma warning disable CS0618 // This method is obsolete.
12
namespace Bunit.JSInterop;
23

34
public partial class BunitJSInteropTest

tests/bunit.web.tests/JSInterop/BunitJSObjectReferenceTest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
using System.Threading.Tasks;
77
using AutoFixture.Xunit2;
88
using Bunit.JSInterop.InvocationHandlers.Implementation;
9-
using Microsoft.JSInterop;
109
using Microsoft.JSInterop.Implementation;
11-
using Shouldly;
12-
using Xunit;
10+
11+
#pragma warning disable CS0618 // This method is obsolete.
1312

1413
namespace Bunit.JSInterop;
1514

0 commit comments

Comments
 (0)