Skip to content

Commit

Permalink
Update packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <[email protected]>
  • Loading branch information
pablopalacios and ljharb authored Mar 20, 2022
1 parent 26d924f commit ad54a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ describe('shallow', () => {
const wrapper = shallow(<OuterComponent value="foo" />);
wrapper.setProps({ value: 'bar' });
const provides = wrapper.find(Provider).shallow();
const provider = provides.find(InnerComponent).shallow();
const provider = provides.find(InnerComponent).dive();

expect(provider.text()).to.equal('bar');
});
Expand Down

0 comments on commit ad54a7f

Please sign in to comment.