Skip to content

Commit

Permalink
tests: update snapshots and revert ControlSmall test
Browse files Browse the repository at this point in the history
  • Loading branch information
erautenberg committed Nov 7, 2023
1 parent fc58668 commit 47f6897
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ describe('ControlSmall', () => {
});

it('renders the correct height from styles', () => {
expect(controlSmall.h).toBe(
controlSmall.style.textStyle.lineHeight + controlSmall.style.paddingY * 2
);
expect(controlSmall.h).toBe(controlSmall.style.h);
});

it('renders the correct height if assigned a height', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ exports[`Input renders 1`] = `
"visible": true,
"w": 0,
"x": 30,
"y": 0,
"y": 46,
"zIndex": 2,
},
},
Expand Down
Loading

0 comments on commit 47f6897

Please sign in to comment.