ErrorModal.test.js.snap 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`ErrorModal renders 1`] = `
  3. <CSSTransition
  4. classNames="fade"
  5. mountOnEnter={true}
  6. nodeRef={
  7. Object {
  8. "current": null,
  9. }
  10. }
  11. timeout={200}
  12. unmountOnExit={true}
  13. >
  14. <div
  15. className="background"
  16. >
  17. <div
  18. className="content"
  19. >
  20. <p
  21. className="text"
  22. >
  23. Sorry! The server took too long to generate points for that game - your configurations may be too restrictive.
  24. </p>
  25. <button
  26. onClick={[MockFunction]}
  27. type="button"
  28. >
  29. Close
  30. </button>
  31. </div>
  32. </div>
  33. </CSSTransition>
  34. `;
  35. exports[`ErrorModal renders when open 1`] = `
  36. <CSSTransition
  37. classNames="fade"
  38. in={true}
  39. mountOnEnter={true}
  40. nodeRef={
  41. Object {
  42. "current": null,
  43. }
  44. }
  45. timeout={200}
  46. unmountOnExit={true}
  47. >
  48. <div
  49. className="background"
  50. >
  51. <div
  52. className="content"
  53. >
  54. <p
  55. className="text"
  56. >
  57. Sorry! The server took too long to generate points for that game - your configurations may be too restrictive.
  58. </p>
  59. <button
  60. onClick={[MockFunction]}
  61. type="button"
  62. >
  63. Close
  64. </button>
  65. </div>
  66. </div>
  67. </CSSTransition>
  68. `;