Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit 1802108

Browse files
committed
Fix tests
1 parent 9e4a2e0 commit 1802108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Button/Button.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('<Button />', () => {
1717

1818
it('should adopt the className', () => {
1919
const renderedComponent = shallow(<Button className="test" />);
20-
expect(renderedComponent.hasClass('test')).toEqual(true);
20+
expect(renderedComponent.find('a').hasClass('test')).toEqual(true);
2121
});
2222

2323
it('should render an <a> tag if no route is specified', () => {

0 commit comments

Comments
 (0)