Skip to content

Commit

Permalink
fix rebase conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Piche committed Dec 23, 2015
2 parents 1ddbf1c + 401309e commit 3605e49
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/__tests__/ReactWrapper-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,7 @@ describeWithDOM('mount', () => {
);
}
}

const wrapper = mount(<Foo />);
expect(wrapper.ref('secondRef').prop('amount')).to.equal(4);
expect(wrapper.ref('secondRef').text()).to.equal('Second');
Expand Down Expand Up @@ -1213,19 +1214,6 @@ describeWithDOM('mount', () => {
`<div class="in-foo"></div>`
);
});

it('should remove all data-react attributes from anywhere in the HTML', () => {
const wrapper = mount(
<div data-react-props="begone" data-react-class="begone" className="test">
<span>Hello World!</span>
</div>
);
expect(wrapper.html()).to.equal(
`<div class="test"><span>Hello World!</span></div>`
);
});

});

>>>>>>> Add method, tests, and docs for html method in ReactWrapper
});

0 comments on commit 3605e49

Please sign in to comment.