Skip to content

Commit

Permalink
test: 更新 corner 单测
Browse files Browse the repository at this point in the history
  • Loading branch information
wjgogogo committed Jan 13, 2023
1 parent 3adf2d6 commit 6493fe4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 193 deletions.

This file was deleted.

3 changes: 0 additions & 3 deletions packages/s2-core/__tests__/spreadsheet/corner-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ describe('PivotSheet Corner Tests', () => {
DEFAULT_STYLE.colCell!.height,
);
expect(cornerNodes).toHaveLength(2);
expect(s2.facet.getCornerNodes()).toMatchSnapshot();
});

test('should render row corner when measure hidden', () => {
Expand All @@ -68,7 +67,6 @@ describe('PivotSheet Corner Tests', () => {
DEFAULT_STYLE.colCell!.height,
);
expect(cornerNodes).toHaveLength(2);
expect(s2.facet.getCornerNodes()).toMatchSnapshot();
});

test('should render row corner when columns and values is empty', () => {
Expand All @@ -89,7 +87,6 @@ describe('PivotSheet Corner Tests', () => {
expect(colsHierarchy.height).toEqual(0);
expect(colsHierarchy.sampleNodeForLastLevel).toBeNull();
expect(cornerNodes).toHaveLength(2);
expect(cornerNodes).toMatchSnapshot();
});

test('should not render row corner when fields is empty', () => {
Expand Down

0 comments on commit 6493fe4

Please sign in to comment.