Skip to content

Commit 7a31637

Browse files
committed
test: 更新单元测试
1 parent 012bfba commit 7a31637

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/UnitTest/Components/LayoutTest.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ public void IsPage_OK()
6868
var cut = Context.RenderComponent<Layout>(pb =>
6969
{
7070
pb.Add(a => a.IsPage, true);
71-
pb.Add(a => a.UseTabSet, true);
72-
pb.Add(a => a.IsFixedTabHeader, true);
7371
});
74-
Assert.Contains("--bb-layout-height: 100vh;", cut.Markup);
72+
Assert.Contains("is-page", cut.Markup);
7573
}
7674

7775
[Fact]

0 commit comments

Comments
 (0)