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.

ProductNewsMenuItem-test.tsx.snap 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should load the product news 1`] = `
  3. <a
  4. className="rich-item new-loading"
  5. >
  6. <div
  7. className="flex-1"
  8. >
  9. <div
  10. className="display-inline-flex-center"
  11. >
  12. <h4>
  13. embed_docs.latest_blog
  14. </h4>
  15. <span
  16. className="note spacer-left"
  17. >
  18. <PlaceholderBar
  19. color="#aaa"
  20. width={60}
  21. />
  22. </span>
  23. </div>
  24. <p
  25. className="little-spacer-bottom"
  26. >
  27. <PlaceholderBar
  28. color="#aaa"
  29. width={84}
  30. />
  31. <PlaceholderBar
  32. color="#aaa"
  33. width={48}
  34. />
  35. <PlaceholderBar
  36. color="#aaa"
  37. width={24}
  38. />
  39. <PlaceholderBar
  40. color="#aaa"
  41. width={72}
  42. />
  43. <PlaceholderBar
  44. color="#aaa"
  45. width={24}
  46. />
  47. <PlaceholderBar
  48. color="#aaa"
  49. width={48}
  50. />
  51. </p>
  52. </div>
  53. <ChevronRightIcon
  54. className="flex-0"
  55. />
  56. </a>
  57. `;
  58. exports[`should load the product news 2`] = `
  59. <a
  60. className="rich-item"
  61. href="https://blog.sonarsource.com/my-product-news"
  62. rel="noopener noreferrer"
  63. target="_blank"
  64. >
  65. <div
  66. className="flex-1"
  67. >
  68. <div
  69. className="display-inline-flex-center"
  70. >
  71. <h4>
  72. embed_docs.latest_blog
  73. </h4>
  74. <DateFormatter
  75. date="2018-04-06T12:07:19+0000"
  76. >
  77. <Component />
  78. </DateFormatter>
  79. </div>
  80. <p
  81. className="little-spacer-bottom"
  82. >
  83. My Product News
  84. </p>
  85. </div>
  86. <ChevronRightIcon
  87. className="flex-0"
  88. />
  89. </a>
  90. `;