Guest User

Untitled

a guest
Aug 19th, 2019
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (loading) {
  2. return <Loading additionalclass="general__loading" />;
  3. }
  4.  
  5. return (
  6. <div>
  7. <nav className="social__icons">
  8. <ul>
  9. <li>
  10. <a target="_blank" rel="noopener noreferrer" href={ROUTES.ANTI_SLAVERY_STATEMENT}>
  11. {stringsActions.showString(strings.anti_slavery_statement)}
  12. </a>
  13. </li>
  14.  
  15. </nav>
  16. </div>
  17.  
  18. it('snapshot test', () => {
  19. const loading = false;
  20. const tree = renderer.create(<FooterMenu loading={loading} />).toJSON();
  21. expect(tree).toMatchSnapshot();
RAW Paste Data