()
| 786 | ); |
| 787 | |
| 788 | function Child() { |
| 789 | const tracking = useTracking(); |
| 790 | |
| 791 | expect(tracking.getTrackingData()).toEqual(outerTrackingData); |
| 792 | |
| 793 | return ( |
| 794 | <button |
| 795 | type="button" |
| 796 | onClick={() => { |
| 797 | tracking.trackEvent({ event: 'buttonClick' }); |
| 798 | }} |
| 799 | /> |
| 800 | ); |
| 801 | } |
| 802 | |
| 803 | const wrappedApp = mount( |
| 804 | <Page> |
nothing calls this directly
no test coverage detected
searching dependent graphs…