HomePage.test.js.snap 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`HomePage Rejoin handles click 1`] = `
  3. <ForwardRef>
  4. <div
  5. className="rejoinSection"
  6. >
  7. <span
  8. className="rejoinLabel"
  9. >
  10. Looks like you were in a game before that you didn't finish!
  11. </span>
  12. <DelayedButton
  13. countDownFormatter={[Function]}
  14. onEnd={[Function]}
  15. >
  16. <CountdownButton
  17. formatter={[Function]}
  18. onCancelled={[Function]}
  19. onEnd={[Function]}
  20. seconds={3}
  21. >
  22. <button
  23. onClick={[Function]}
  24. type="button"
  25. >
  26. Rejoining in 3s...
  27. </button>
  28. </CountdownButton>
  29. </DelayedButton>
  30. </div>
  31. </ForwardRef>
  32. `;
  33. exports[`HomePage Rejoin renders 1`] = `
  34. <div
  35. className="rejoinSection"
  36. >
  37. <span
  38. className="rejoinLabel"
  39. >
  40. Looks like you were in a game before that you didn't finish!
  41. </span>
  42. <DelayedButton
  43. countDownFormatter={[Function]}
  44. onEnd={[Function]}
  45. >
  46. Rejoin Game?
  47. </DelayedButton>
  48. </div>
  49. `;
  50. exports[`HomePage renders 1`] = `
  51. <div
  52. className="page"
  53. >
  54. <CSSTransition
  55. classNames="fade"
  56. in={false}
  57. mountOnEnter={true}
  58. nodeRef={
  59. Object {
  60. "current": null,
  61. }
  62. }
  63. timeout={500}
  64. unmountOnExit={true}
  65. >
  66. <ForwardRef />
  67. </CSSTransition>
  68. <GameCreationForm
  69. afterCreate={[Function]}
  70. />
  71. </div>
  72. `;