Skip to content

Commit

Permalink
fix: test for shape
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini committed May 30, 2022
1 parent e654fc6 commit bd18178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/unit/shape/point/point.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('Point', () => {
expect(shape.nodeName).toBe('path');
expect(style(shape, ['fill', 'lineWidth'])).toEqual({
fill: 'steelblue',
lineWidth: 1,
lineWidth: '',
});
});

Expand Down
2 changes: 1 addition & 1 deletion __tests__/unit/shape/text/text.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Text', () => {
expect(style(shape, ['fill', 'stroke', 'lineWidth'])).toEqual({
fill: 'steelblue',
stroke: 'steelblue',
lineWidth: 0,
lineWidth: '',
});
});

Expand Down

0 comments on commit bd18178

Please sign in to comment.