123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`should work 1`] = `
- <Fragment>
- <Suggestions
- suggestions="custom_metrics"
- />
- <Helmet
- defer={false}
- encodeSpecialCharacters={true}
- title="custom_metrics.page"
- />
- <div
- className="page page-limited"
- id="custom-metrics-page"
- >
- <Header
- loading={true}
- onCreate={[Function]}
- />
- </div>
- </Fragment>
- `;
-
- exports[`should work 2`] = `
- <Fragment>
- <Suggestions
- suggestions="custom_metrics"
- />
- <Helmet
- defer={false}
- encodeSpecialCharacters={true}
- title="custom_metrics.page"
- />
- <div
- className="page page-limited"
- id="custom-metrics-page"
- >
- <Header
- domains={
- Array [
- "Coverage",
- "Issues",
- ]
- }
- loading={false}
- onCreate={[Function]}
- types={
- Array [
- "INT",
- "STRING",
- ]
- }
- />
- <List
- domains={
- Array [
- "Coverage",
- "Issues",
- ]
- }
- metrics={
- Array [
- Object {
- "id": "3",
- "key": "foo",
- "name": "Foo",
- "type": "INT",
- },
- ]
- }
- onDelete={[Function]}
- onEdit={[Function]}
- types={
- Array [
- "INT",
- "STRING",
- ]
- }
- />
- <ListFooter
- count={1}
- loadMore={[Function]}
- ready={true}
- total={1}
- />
- </div>
- </Fragment>
- `;
-
- exports[`should work 3`] = `
- Array [
- Object {
- "id": "3",
- "key": "foo",
- "name": "Foo",
- "type": "INT",
- },
- Object {
- "domain": "Coverage",
- "id": "4",
- "key": "bar",
- "name": "Bar",
- "type": "INT",
- },
- ]
- `;
-
- exports[`should work 4`] = `
- Array [
- Object {
- "id": "3",
- "key": "foo",
- "name": "Foo",
- "type": "INT",
- },
- Object {
- "domain": undefined,
- "id": "4",
- "key": "bar",
- "name": "Bar",
- "type": "STRING",
- },
- ]
- `;
-
- exports[`should work 5`] = `
- Array [
- Object {
- "id": "3",
- "key": "foo",
- "name": "Foo",
- "type": "INT",
- },
- ]
- `;
|