123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`Render should render component 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={true}
- />
- </Page>
- `;
- exports[`Render should render group sync page 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={true}
- >
- <Connect(TeamGroupSync)
- isReadOnly={false}
- />
- </PageContents>
- </Page>
- `;
- exports[`Render should render member page if team not empty 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={true}
- >
- <Connect(TeamMembers)
- members={Array []}
- syncEnabled={true}
- />
- </PageContents>
- </Page>
- `;
- exports[`Render should render settings and preferences page 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={true}
- >
- <Connect(TeamSettings)
- team={
- Object {
- "avatarUrl": "some/url/",
- "email": "test@test.com",
- "id": 1,
- "memberCount": 1,
- "name": "test",
- "permission": 0,
- }
- }
- />
- </PageContents>
- </Page>
- `;
- exports[`Render when feature toggle editorsCanAdmin is turned on should not render settings page if user is team member 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={true}
- />
- </Page>
- `;
- exports[`Render when feature toggle editorsCanAdmin is turned on should render settings page if user is team admin 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={true}
- >
- <Connect(TeamSettings)
- team={
- Object {
- "avatarUrl": "some/url/",
- "email": "test@test.com",
- "id": 1,
- "memberCount": 1,
- "name": "test",
- "permission": 0,
- }
- }
- />
- </PageContents>
- </Page>
- `;
|