Guest User

Untitled

a guest
Dec 15th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. it('should render successfully', () => {
  2. const wrapper = shallow(
  3. <Sections
  4. data={mappedMockData}
  5. sections={mappedMockData.sections}
  6. eligibility={mockEligibility}
  7. />
  8. );
  9.  
  10. console.log(wrapper.debug());
  11.  
  12. expect(wrapper).toMatchSnapshot();
  13.  
  14. <Symbol(react.fragment)>
  15. <div className="content-container">
  16. <div className="flex">
  17. <div className="sections-wrap">
  18. <Connect(Section1) />
  19. <Connect(Section2) />
  20. </div>
  21. <Connect(Section3) />
  22. </div>
  23. </div>
  24. <div className="content-container">
  25. <Connect(Section4) />
  26. <Connect(Section5) />
  27. </div>
  28. </Symbol(react.fragment)>
Add Comment
Please, Sign In to add comment