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.

ValidationInput-test.tsx.snap 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render 1`] = `
  3. <div>
  4. <label
  5. htmlFor="field-id"
  6. >
  7. <span
  8. className="text-middle"
  9. >
  10. <strong>
  11. Field label
  12. </strong>
  13. <em
  14. className="mandatory"
  15. >
  16. *
  17. </em>
  18. </span>
  19. <HelpTooltip
  20. className="spacer-left"
  21. overlay="Help message"
  22. />
  23. </label>
  24. <div
  25. className="little-spacer-top spacer-bottom"
  26. >
  27. <div />
  28. </div>
  29. <div
  30. className="note abs-width-400"
  31. >
  32. My description
  33. </div>
  34. </div>
  35. `;
  36. exports[`should render when valid 1`] = `
  37. <div>
  38. <label
  39. htmlFor="field-id"
  40. >
  41. <span
  42. className="text-middle"
  43. >
  44. <strong>
  45. Field label
  46. </strong>
  47. <em
  48. className="mandatory"
  49. >
  50. *
  51. </em>
  52. </span>
  53. </label>
  54. <div
  55. className="little-spacer-top spacer-bottom"
  56. >
  57. <div />
  58. <AlertSuccessIcon
  59. className="spacer-left text-middle"
  60. />
  61. </div>
  62. <div
  63. className="note abs-width-400"
  64. >
  65. My description
  66. </div>
  67. </div>
  68. `;
  69. exports[`should render with error 1`] = `
  70. <div>
  71. <label
  72. htmlFor="field-id"
  73. >
  74. <span
  75. className="text-middle"
  76. >
  77. <strong>
  78. Field label
  79. </strong>
  80. </span>
  81. </label>
  82. <div
  83. className="little-spacer-top spacer-bottom"
  84. >
  85. <div />
  86. <AlertErrorIcon
  87. className="spacer-left text-middle"
  88. />
  89. <span
  90. className="little-spacer-left text-danger text-middle"
  91. >
  92. Field error message
  93. </span>
  94. </div>
  95. <div
  96. className="note abs-width-400"
  97. >
  98. My description
  99. </div>
  100. </div>
  101. `;