We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9319f06 commit 763f8d0Copy full SHA for 763f8d0
packages/react-ape/renderer/elements/__tests__/Button-test.js
@@ -25,10 +25,9 @@ describe('Button', () => {
25
lineTo: jest.fn(),
26
quadraticCurveTo: jest.fn(),
27
font: 'Helvetica',
28
- canvas:{
29
- addEventListener:jest.fn()
30
- }
31
-
+ canvas: {
+ addEventListener: jest.fn(),
+ },
32
},
33
};
34
@@ -58,8 +57,7 @@ describe('Button', () => {
58
57
expect(font).toEqual(`${ButtonDefaults.textStyle.fontSize} Helvetica`);
59
expect(quadraticCurveTo.mock.calls.length).toEqual(4);
60
expect(fillStyle).toBe(color);
61
- expect(Button).toMatchSnapshot()
62
+ expect(Button).toMatchSnapshot();
63
});
64
65
0 commit comments