test: add null Options unit test (#469)

This commit is contained in:
Argo Zhang 2023-02-04 00:41:28 +08:00 committed by GitHub
parent a3d3351177
commit 86e3fb15ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,13 @@ public class ToastTest : BootstrapBlazorTestBase
await service.Warning("Test", "test content");
}
[Fact]
public void Options_Null()
{
var cut = Context.RenderComponent<Toast>();
cut.Contains("toast");
}
[Fact]
public async Task AutoHide_Ok()
{