mutedBox.spec.jsx.snap 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`MutedBox render() handles default 1`] = `
  3. <div
  4. className="box"
  5. >
  6. <span
  7. className="icon icon-soundoff"
  8. />
  9. <p>
  10. <span>
  11. This issue has been ignored
  12. </span>
  13. You will not be notified of any changes and it will not show up by default in feeds.
  14. </p>
  15. </div>
  16. `;
  17. exports[`MutedBox render() handles ignoreCount 1`] = `
  18. <div
  19. className="box"
  20. >
  21. <span
  22. className="icon icon-soundoff"
  23. />
  24. <p>
  25. <span>
  26. This issue has been ignored until it affects
  27. <strong
  28. key="1"
  29. >
  30. 100
  31. </strong>
  32. more user(s)
  33. </span>
  34. You will not be notified of any changes and it will not show up by default in feeds.
  35. </p>
  36. </div>
  37. `;
  38. exports[`MutedBox render() handles ignoreCount with ignoreWindow 1`] = `
  39. <div
  40. className="box"
  41. >
  42. <span
  43. className="icon icon-soundoff"
  44. />
  45. <p>
  46. <span>
  47. This issue has been ignored until it occurs
  48. <strong
  49. key="1"
  50. >
  51. 100
  52. </strong>
  53. time(s) in
  54. <strong
  55. key="3"
  56. >
  57. <Duration
  58. seconds={60}
  59. />
  60. </strong>
  61. </span>
  62. You will not be notified of any changes and it will not show up by default in feeds.
  63. </p>
  64. </div>
  65. `;
  66. exports[`MutedBox render() handles ignoreUntil 1`] = `
  67. <div
  68. className="box"
  69. >
  70. <span
  71. className="icon icon-soundoff"
  72. />
  73. <p>
  74. <span>
  75. This issue has been ignored until
  76. <strong
  77. key="1"
  78. >
  79. <DateTime
  80. date="2017-06-21T19:45:10Z"
  81. seconds={true}
  82. />
  83. </strong>
  84. </span>
  85. You will not be notified of any changes and it will not show up by default in feeds.
  86. </p>
  87. </div>
  88. `;
  89. exports[`MutedBox render() handles ignoreUserCount 1`] = `
  90. <div
  91. className="box"
  92. >
  93. <span
  94. className="icon icon-soundoff"
  95. />
  96. <p>
  97. <span>
  98. This issue has been ignored until it affects
  99. <strong
  100. key="1"
  101. >
  102. 100
  103. </strong>
  104. more user(s)
  105. </span>
  106. You will not be notified of any changes and it will not show up by default in feeds.
  107. </p>
  108. </div>
  109. `;
  110. exports[`MutedBox render() handles ignoreUserCount with ignoreUserWindow 1`] = `
  111. <div
  112. className="box"
  113. >
  114. <span
  115. className="icon icon-soundoff"
  116. />
  117. <p>
  118. <span>
  119. This issue has been ignored until it affects
  120. <strong
  121. key="1"
  122. >
  123. 100
  124. </strong>
  125. user(s) in
  126. <strong
  127. key="3"
  128. >
  129. <Duration
  130. seconds={60}
  131. />
  132. </strong>
  133. </span>
  134. You will not be notified of any changes and it will not show up by default in feeds.
  135. </p>
  136. </div>
  137. `;