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
- Host: GitHub
- URL: https://github.com/soenneker/soenneker.blazor.mockjsruntime
- Owner: soenneker
- License: mit
- Created: 2024-12-20T23:02:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-07T14:05:45.000Z (3 months ago)
- Last Synced: 2026-03-07T14:49:27.139Z (3 months ago)
- Topics: blazor, csharp, dotnet, js, jsruntime, mock, mockjsruntime, util
- Language: C#
- Homepage: https://soenneker.com
- Size: 688 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/soenneker.blazor.mockjsruntime/)
[](https://github.com/soenneker/soenneker.blazor.mockjsruntime/actions/workflows/publish-package.yml)
[](https://www.nuget.org/packages/soenneker.blazor.mockjsruntime/)
[](https://github.com/soenneker/soenneker.blazor.mockjsruntime/actions/workflows/codeql.yml)
#  Soenneker.Blazor.MockJsRuntime
### A simple threadsafe version of IJSRuntime for testing with Blazor
## Installation
```
dotnet add package Soenneker.Blazor.MockJsRuntime
```
## Usage
```csharp
services.AddMockJsRuntimeAsScoped()
```