Skip to content

Commit

Permalink
Fix typo in ShallowWrapper docs: MyCStatefullass -> Stateful
Browse files Browse the repository at this point in the history
  • Loading branch information
josephfrazier committed Oct 11, 2023
1 parent 3a7701c commit d2bfa6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('wrapper instance is not null', () => {
const wrapper = shallow(<Stateful />);
const instance = wrapper.instance();

expect(instance).to.be.instanceOf(MyCStatefullass);
expect(instance).to.be.instanceOf(Stateful);
});
```

Expand Down

0 comments on commit d2bfa6f

Please sign in to comment.