Skip to content

Commit

Permalink
boo
Browse files Browse the repository at this point in the history
  • Loading branch information
tko22 committed May 14, 2020
1 parent 5a258e5 commit b9d6d93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/__tests__/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ describe('Link', () => {
expect(renderJSON(<Link as="button">APPLY</Link>)).toMatchSnapshot();

const { container } = render(<Link as="button" />);
expect(container.firstChild).toHaveStyle(`font-family: ${theme.buttons.font}`);
expect(container.firstChild).toHaveStyle(`font-size: ${theme.buttons.fontSize}`);
expect(container.firstChild).toHaveStyle(`letter-spacing: ${theme.buttons.letterSpacing}`);
expect(container.firstChild).toHaveStyle(`font-family: ${theme.typography.button.font}`);
expect(container.firstChild).toHaveStyle(`font-size: ${theme.typography.button.fontSize}`);
expect(container.firstChild).toHaveStyle(`letter-spacing: ${theme.typography.button.letterSpacing}`);
});
});

0 comments on commit b9d6d93

Please sign in to comment.