We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f7769f commit a92f770Copy full SHA for a92f770
src/rsg-components/Wrapper/Wrapper.spec.js
@@ -3,7 +3,7 @@ import Wrapper from './Wrapper';
3
4
it('should render children', () => {
5
const children = <span>Hello</span>;
6
- const actual = shallow(<Wrapper>{children}</Wrapper>);
+ const actual = shallow(<Wrapper onError={() => {}}>{children}</Wrapper>);
7
8
expect(actual).toMatchSnapshot();
9
});
0 commit comments