Skip to content

Commit

Permalink
Update spec broken due to Enzyme update
Browse files Browse the repository at this point in the history
Enzyme incoroporated a breaking change, which still matched our version
specification for the npm package. The change caused our Travis build to
fail. This commit updates the spec accordingly.

See:

- enzymejs/enzyme#523
- enzymejs/enzyme#510 (comment)
  • Loading branch information
pmeinhardt committed Oct 31, 2016
1 parent 496e5d8 commit 56e2dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/popup/components/header-spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ describe('header', () => {

it('hides the summary button when no tickets are found', () => {
const wrapper = shallow(<Header tickets={[]} />);
expect(wrapper.some(CopyButton)).toBe(false);
expect(wrapper.find(CopyButton).isEmpty()).toBe(true);
});
});

0 comments on commit 56e2dc8

Please sign in to comment.