Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesTourreau committed Jun 6, 2024
1 parent 72d33ac commit 868e3c1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace PosInformatique.Azure.Communication.UI.Blazor.Tests
{
using Microsoft.Extensions.DependencyInjection;
using Microsoft.JSInterop;

public class CallingServiceCollectionExtensionsTest
{
Expand All @@ -15,6 +16,7 @@ public void AddCalling()
{
var serviceCollection = new ServiceCollection();

serviceCollection.AddSingleton(sp => Mock.Of<IJSRuntime>());
serviceCollection.AddCalling().Should().BeSameAs(serviceCollection);

var sp = serviceCollection.BuildServiceProvider();
Expand Down

0 comments on commit 868e3c1

Please sign in to comment.