12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`should be in loading status 1`] = `
- <Fragment>
- <Suggestions
- suggestions="webhooks"
- />
- <Helmet
- defer={false}
- encodeSpecialCharacters={true}
- prioritizeSeoTags={false}
- title="webhooks.page"
- />
- <div
- className="page page-limited"
- >
- <PageHeader
- loading={true}
- >
- <PageActions
- loading={true}
- onCreate={[Function]}
- webhooksCount={0}
- />
- </PageHeader>
- </div>
- </Fragment>
- `;
-
- exports[`should fetch webhooks and display them 1`] = `
- <Fragment>
- <Suggestions
- suggestions="webhooks"
- />
- <Helmet
- defer={false}
- encodeSpecialCharacters={true}
- prioritizeSeoTags={false}
- title="webhooks.page"
- />
- <div
- className="page page-limited"
- >
- <PageHeader
- loading={false}
- >
- <PageActions
- loading={false}
- onCreate={[Function]}
- webhooksCount={2}
- />
- </PageHeader>
- <div
- className="boxed-group boxed-group-inner"
- >
- <WebhooksList
- onDelete={[Function]}
- onUpdate={[Function]}
- webhooks={
- [
- {
- "hasSecret": false,
- "key": "1",
- "name": "foo",
- "url": "http://foo",
- },
- {
- "hasSecret": false,
- "key": "2",
- "name": "bar",
- "url": "http://bar",
- },
- ]
- }
- />
- </div>
- </div>
- </Fragment>
- `;
|