Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. const foo = shallow(<MyComponent />).instance();
  2. const boo = foo.doSomething(a,b);
  3. expect(boo).toEqual(expectedOutCome);
  4.  
  5. MyComponent --> ChildComponent1 --> ChildComponent2 --> CustomToolTip (UncontrolledTooltip)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement