You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NavLatestNotification-test.tsx.snap 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly if there are new features, and the user has not opted out 1`] = `
  3. <Fragment>
  4. <li
  5. className="navbar-latest-notification"
  6. onClick={[MockFunction]}
  7. >
  8. <div
  9. className="navbar-latest-notification-wrapper"
  10. >
  11. <span
  12. className="badge badge-info"
  13. >
  14. new
  15. </span>
  16. <span
  17. className="label"
  18. >
  19. 10 Java rules, Github checks, Security Hotspots, BitBucket branch decoration
  20. </span>
  21. </div>
  22. </li>
  23. <li
  24. className="navbar-latest-notification-dismiss"
  25. >
  26. <a
  27. className="navbar-icon"
  28. href="#"
  29. onClick={[Function]}
  30. >
  31. <ClearIcon
  32. size={12}
  33. thin={true}
  34. />
  35. </a>
  36. </li>
  37. <li>
  38. <a
  39. className="navbar-icon"
  40. href="#"
  41. onClick={[Function]}
  42. >
  43. <NotificationIcon
  44. hasUnread={true}
  45. />
  46. </a>
  47. </li>
  48. </Fragment>
  49. `;
  50. exports[`should render correctly if there are new features, but the user has opted out 1`] = `
  51. <Fragment>
  52. <li>
  53. <a
  54. className="navbar-icon"
  55. href="#"
  56. onClick={[Function]}
  57. >
  58. <NotificationIcon
  59. hasUnread={false}
  60. />
  61. </a>
  62. </li>
  63. </Fragment>
  64. `;
  65. exports[`should render correctly if there are no new unread features 1`] = `
  66. <Fragment>
  67. <li>
  68. <a
  69. className="navbar-icon"
  70. href="#"
  71. onClick={[Function]}
  72. >
  73. <NotificationIcon
  74. hasUnread={false}
  75. />
  76. </a>
  77. </li>
  78. </Fragment>
  79. `;