An open API service indexing awesome lists of open source software.

https://github.com/soenneker/soenneker.blazor.mockjsruntime

A simple threadsafe version of IJSRuntime for testing with Blazor
https://github.com/soenneker/soenneker.blazor.mockjsruntime

blazor csharp dotnet js jsruntime mock mockjsruntime util

Last synced: 3 months ago
JSON representation

A simple threadsafe version of IJSRuntime for testing with Blazor

Awesome Lists containing this project

README

          

[![](https://img.shields.io/nuget/v/soenneker.blazor.mockjsruntime.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.blazor.mockjsruntime/)
[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.blazor.mockjsruntime/publish-package.yml?style=for-the-badge)](https://github.com/soenneker/soenneker.blazor.mockjsruntime/actions/workflows/publish-package.yml)
[![](https://img.shields.io/nuget/dt/soenneker.blazor.mockjsruntime.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.blazor.mockjsruntime/)
[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.blazor.mockjsruntime/codeql.yml?label=CodeQL&style=for-the-badge)](https://github.com/soenneker/soenneker.blazor.mockjsruntime/actions/workflows/codeql.yml)

# ![](https://user-images.githubusercontent.com/4441470/224455560-91ed3ee7-f510-4041-a8d2-3fc093025112.png) Soenneker.Blazor.MockJsRuntime
### A simple threadsafe version of IJSRuntime for testing with Blazor

## Installation

```
dotnet add package Soenneker.Blazor.MockJsRuntime
```

## Usage
```csharp
services.AddMockJsRuntimeAsScoped()
```