Skip to content

Commit

Permalink
fix: change length for exists
Browse files Browse the repository at this point in the history
  • Loading branch information
HellWolf93 committed May 4, 2020
1 parent de361a5 commit 55f4f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FileSelector/__test__/fileSelector.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('<FileSelector />', () => {

it('should render HelpText when bottomHelpText is passed', () => {
const component = mount(<FileSelector bottomHelpText="help text" />);
expect(component.find(HelpText).length).toBe(1);
expect(component.find(HelpText).exists()).toBe(true);
});

it('should fire change event when a file is picked', () => {
Expand Down

0 comments on commit 55f4f85

Please sign in to comment.