SearchBar.test.js.snap 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`SearchBar component Should render correctly 1`] = `
  3. <Memo(SearchBar)
  4. placeholder="Type here..."
  5. value="test"
  6. >
  7. <div
  8. css={
  9. Object {
  10. "map": undefined,
  11. "name": "laoupi",
  12. "next": undefined,
  13. "styles": "
  14. display: flex;
  15. padding: 1.5rem;
  16. margin: 1rem;
  17. border-radius: 0.5rem;
  18. border: none;
  19. & * {
  20. font-size: 1rem;
  21. }
  22. ",
  23. "toString": [Function],
  24. }
  25. }
  26. >
  27. <input
  28. css={
  29. Object {
  30. "map": undefined,
  31. "name": "c0kzty",
  32. "next": undefined,
  33. "styles": "
  34. padding: 0.75rem 0.5rem;
  35. font-weight: 100;
  36. border-radius: 0.25rem;
  37. border: 1px solid #000;
  38. ",
  39. "toString": [Function],
  40. }
  41. }
  42. onChange={[Function]}
  43. placeholder="Type here..."
  44. type="text"
  45. value="test"
  46. />
  47. <Memo(Button)
  48. onClick={[Function]}
  49. >
  50. <button
  51. css={
  52. Object {
  53. "map": undefined,
  54. "name": "1s1uxvy",
  55. "next": undefined,
  56. "styles": "
  57. padding: 0.75rem 0.5rem;
  58. font-size: 1rem;
  59. width: auto;
  60. ;
  61. border-radius: 0.25rem;
  62. border-color: ;
  63. border-style: solid;
  64. border-width: 2px;
  65. font-style: 'Lato','Helvetica Neue',Arial,Helvetica,sans-serif;
  66. background-color: #2578C2;
  67. color: #fff;
  68. ",
  69. "toString": [Function],
  70. }
  71. }
  72. onClick={[Function]}
  73. >
  74. Search
  75. </button>
  76. </Memo(Button)>
  77. </div>
  78. </Memo(SearchBar)>
  79. `;