Skip to content

Commit

Permalink
test: 修复单测
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Feb 20, 2024
1 parent eb5ac45 commit 208acae
Show file tree
Hide file tree
Showing 5 changed files with 307 additions and 278 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,39 @@
exports[`Header Component Tests should render component 1`] = `
<DocumentFragment>
<div
class="antv-s2-header test"
class="css-dev-only-do-not-override-p7e5j5 ant-app"
>
<div
class="antv-s2-header-heading"
class="antv-s2-header test"
>
<div
class="antv-s2-header-heading-left"
class="antv-s2-header-heading"
>
<div
class="antv-s2-header-heading-title"
>
title
</div>
</div>
<div
class="antv-s2-header-heading-extra"
>
<div
class="ant-space css-dev-only-do-not-override-p7e5j5 ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
class="antv-s2-header-heading-left"
>
<div
class="ant-space-item"
class="antv-s2-header-heading-title"
>
extra
title
</div>
</div>
<div
class="antv-s2-header-heading-extra"
>
<div
class="ant-space-item"
class="ant-space css-dev-only-do-not-override-p7e5j5 ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small"
>
<button
class="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-default ant-btn-sm antv-s2-switcher-entry-button"
type="button"
<div
class="ant-space-item"
>
<span
class="ant-btn-icon"
>
<div />
</span>
<span>
行列切换
</span>
</button>
</div>
<div
class="ant-space-item"
>
extra
</div>
<div
class="antv-s2-advanced-sort"
class="ant-space-item"
>
<button
class="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-default ant-btn-sm antv-s2-advanced-sort-btn"
class="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-default ant-btn-sm antv-s2-switcher-entry-button"
type="button"
>
<span
Expand All @@ -61,27 +44,48 @@ exports[`Header Component Tests should render component 1`] = `
<div />
</span>
<span>
高级排序
行列切换
</span>
</button>
</div>
</div>
<div
class="ant-space-item"
>
<button
class="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-text ant-dropdown-trigger antv-s2-export"
type="button"
<div
class="ant-space-item"
>
<div
class="antv-s2-advanced-sort"
>
<button
class="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-default ant-btn-sm antv-s2-advanced-sort-btn"
type="button"
>
<span
class="ant-btn-icon"
>
<div />
</span>
<span>
高级排序
</span>
</button>
</div>
</div>
<div
class="ant-space-item"
>
<div />
</button>
<button
class="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-text ant-dropdown-trigger antv-s2-export"
type="button"
>
<div />
</button>
</div>
</div>
</div>
</div>
<div
class="antv-s2-header-content"
/>
</div>
<div
class="antv-s2-header-content"
/>
</div>
</DocumentFragment>
`;
Loading

0 comments on commit 208acae

Please sign in to comment.