Skip to content

Commit

Permalink
only run portal find tests in react 16+
Browse files Browse the repository at this point in the history
  • Loading branch information
jgzuke committed Aug 16, 2018
1 parent 8dcef0a commit 6ef7f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ describe('shallow', () => {
});
});

it('should find portals by name', () => {
itIf(is('>= 16'), 'should find portals by name', () => {
const Foo = () => (
<div>
{createPortal(
Expand Down Expand Up @@ -1414,7 +1414,7 @@ describe('shallow', () => {
expect(spy).to.have.property('callCount', 2);
});

it('should find portals by react-is Portal type', () => {
itIf(is('>= 16'), 'should find portals by react-is Portal type', () => {
const Foo = () => (
<div>
{createPortal(
Expand Down

0 comments on commit 6ef7f24

Please sign in to comment.