Skip to content

Commit

Permalink
fixed Unexpected token error
Browse files Browse the repository at this point in the history
  • Loading branch information
Idan Levin committed Nov 14, 2017
1 parent e58f8b0 commit 6d0dbe4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1648,11 +1648,12 @@ describe('shallow', () => {
<div>&nbsp;</div>
<div>&nbsp;&nbsp;</div>
</div>
)
);

const wrapper = shallow(Space);
const mounted = mount(Space);

expect(wrapper.text()).to.equal(mounted.text());
})
});

describeIf(!REACT013, 'stateless function components', () => {
Expand Down

0 comments on commit 6d0dbe4

Please sign in to comment.