Skip to content

Commit

Permalink
test: update unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
fangsmile committed Mar 1, 2024
1 parent f17cf33 commit 95555e8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/vtable/__tests__/listTable-1W.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ describe('listTable-1W init test', () => {
color: '#000',
fontFamily: 'Arial',
fontSize: 14,
fontStyle: undefined,
fontVariant: undefined,
fontStyle: null,
fontVariant: null,
fontWeight: null,
lineClamp: 'auto',
lineHeight: 14,
Expand Down
4 changes: 2 additions & 2 deletions packages/vtable/__tests__/listTable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ describe('listTable init test', () => {
color: 'red',
fontFamily: 'Calibri',
fontSize: 28,
fontStyle: undefined,
fontVariant: undefined,
fontStyle: null,
fontVariant: null,
fontWeight: null,
lineHeight: 28,
autoWrapText: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,14 @@ describe('listTable-autoRowHeight init test', () => {
borderColor: '#E1E4E8',
borderLineWidth: 1,
borderLineDash: [],
fontStyle: undefined,
fontVariant: undefined,
fontStyle: null,
fontVariant: null,
fontWeight: null,
lineThrough: false,
lineThroughLineWidth: undefined,
// lineThroughDash: undefined,
underline: false,
underlineWidth: undefined,
// underlineDash: undefined
padding: [10, 0, 10, 60],
_linkColor: '#3772ff',
Expand Down
14 changes: 8 additions & 6 deletions packages/vtable/__tests__/pivotTable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,14 @@ describe('pivotTable init test', () => {
borderLineDash: [],
fontFamily: 'Arial,sans-serif',
fontSize: 16,
fontStyle: undefined,
fontVariant: undefined,
fontStyle: null,
fontVariant: null,
fontWeight: 'bold',
lineThrough: false,
lineThroughLineWidth: undefined,
// lineThroughDash: undefined,
underline: false,
// underlineDash: undefined
underlineDash: undefined,
padding: [10, 16, 10, 16],
_linkColor: '#3772ff',
_strokeArrayColor: undefined,
Expand All @@ -516,13 +517,14 @@ describe('pivotTable init test', () => {
borderLineDash: [],
fontFamily: 'Arial,sans-serif',
fontSize: 14,
fontStyle: undefined,
fontVariant: undefined,
fontStyle: null,
fontVariant: null,
fontWeight: null,
lineThrough: false,
lineThroughLineWidth: undefined,
// lineThroughDash: undefined,
underline: false,
// underlineDash: undefined
underlineDash: undefined,
padding: [10, 16, 10, 16],
_linkColor: '#3772ff',
_strokeArrayColor: undefined,
Expand Down

0 comments on commit 95555e8

Please sign in to comment.