Button.test.js.snap 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Button component Should render custom button correctly 1`] = `
  3. <Memo(Button)
  4. color="success"
  5. size="large"
  6. >
  7. <button
  8. css={
  9. Object {
  10. "map": undefined,
  11. "name": "nynpfd",
  12. "next": undefined,
  13. "styles": "
  14. padding: 1rem 0.5rem;
  15. font-size: 2rem;
  16. width: auto;
  17. ;
  18. border-radius: 0.25rem;
  19. border-color: ;
  20. border-style: solid;
  21. border-width: 2px;
  22. font-style: 'Lato','Helvetica Neue',Arial,Helvetica,sans-serif;
  23. background-color: #56BA46;
  24. color: #fff;
  25. ",
  26. "toString": [Function],
  27. }
  28. }
  29. >
  30. Hello Atlas
  31. </button>
  32. </Memo(Button)>
  33. `;
  34. exports[`Button component Should render default button correctly 1`] = `
  35. <Memo(Button)>
  36. <button
  37. css={
  38. Object {
  39. "map": undefined,
  40. "name": "1s1uxvy",
  41. "next": undefined,
  42. "styles": "
  43. padding: 0.75rem 0.5rem;
  44. font-size: 1rem;
  45. width: auto;
  46. ;
  47. border-radius: 0.25rem;
  48. border-color: ;
  49. border-style: solid;
  50. border-width: 2px;
  51. font-style: 'Lato','Helvetica Neue',Arial,Helvetica,sans-serif;
  52. background-color: #2578C2;
  53. color: #fff;
  54. ",
  55. "toString": [Function],
  56. }
  57. }
  58. >
  59. Click me!
  60. </button>
  61. </Memo(Button)>
  62. `;