TeamPages.test.tsx.snap 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <Page
  4. navModel={Object {}}
  5. >
  6. <PageContents
  7. isLoading={true}
  8. />
  9. </Page>
  10. `;
  11. exports[`Render should render group sync page 1`] = `
  12. <Page
  13. navModel={Object {}}
  14. >
  15. <PageContents
  16. isLoading={true}
  17. >
  18. <Connect(TeamGroupSync)
  19. isReadOnly={false}
  20. />
  21. </PageContents>
  22. </Page>
  23. `;
  24. exports[`Render should render member page if team not empty 1`] = `
  25. <Page
  26. navModel={Object {}}
  27. >
  28. <PageContents
  29. isLoading={true}
  30. >
  31. <Connect(TeamMembers)
  32. members={Array []}
  33. syncEnabled={true}
  34. />
  35. </PageContents>
  36. </Page>
  37. `;
  38. exports[`Render should render settings and preferences page 1`] = `
  39. <Page
  40. navModel={Object {}}
  41. >
  42. <PageContents
  43. isLoading={true}
  44. >
  45. <Connect(TeamSettings)
  46. team={
  47. Object {
  48. "avatarUrl": "some/url/",
  49. "email": "test@test.com",
  50. "id": 1,
  51. "memberCount": 1,
  52. "name": "test",
  53. "permission": 0,
  54. }
  55. }
  56. />
  57. </PageContents>
  58. </Page>
  59. `;
  60. exports[`Render when feature toggle editorsCanAdmin is turned on should not render settings page if user is team member 1`] = `
  61. <Page
  62. navModel={Object {}}
  63. >
  64. <PageContents
  65. isLoading={true}
  66. />
  67. </Page>
  68. `;
  69. exports[`Render when feature toggle editorsCanAdmin is turned on should render settings page if user is team admin 1`] = `
  70. <Page
  71. navModel={Object {}}
  72. >
  73. <PageContents
  74. isLoading={true}
  75. >
  76. <Connect(TeamSettings)
  77. team={
  78. Object {
  79. "avatarUrl": "some/url/",
  80. "email": "test@test.com",
  81. "id": 1,
  82. "memberCount": 1,
  83. "name": "test",
  84. "permission": 0,
  85. }
  86. }
  87. />
  88. </PageContents>
  89. </Page>
  90. `;