test: add exclude attribute on GetItemClass (#458)

This commit is contained in:
Argo Zhang 2023-02-03 00:37:03 +08:00 committed by GitHub
parent fba8a16ab1
commit 5e804f44b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,8 +87,10 @@ public partial class Dropzone<TItem> : IDisposable
.AddClass("bb-dd-inprogess", DragDropService.ActiveItem != null)
.Build();
[ExcludeFromCodeCoverage]
private string GetItemClass(TItem? item)
{
// TODO: 后期完善 使用 CssBuilder 实现
if (item == null)
{
return "";