# Conflicts: # x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/overview.test.tsx.snap
This commit is contained in:
parent
97521eaee2
commit
1868b1e9fa
|
@ -79,7 +79,6 @@
|
|||
"resolutions": {
|
||||
"**/@types/node": ">=10.17.17 <10.20.0",
|
||||
"**/@types/react": "^16.9.36",
|
||||
"**/@types/react-router": "^5.1.3",
|
||||
"**/@types/hapi": "^17.0.18",
|
||||
"**/@types/angular": "^1.6.56",
|
||||
"**/@types/hoist-non-react-statics": "^3.3.1",
|
||||
|
@ -243,8 +242,8 @@
|
|||
"react-monaco-editor": "~0.27.0",
|
||||
"react-redux": "^7.2.0",
|
||||
"react-resize-detector": "^4.2.0",
|
||||
"react-router": "^5.1.2",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-router": "^5.2.0",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-sizeme": "^2.3.6",
|
||||
"react-use": "^13.27.0",
|
||||
"reactcss": "1.2.3",
|
||||
|
@ -373,8 +372,8 @@
|
|||
"@types/react-grid-layout": "^0.16.7",
|
||||
"@types/react-redux": "^7.1.9",
|
||||
"@types/react-resize-detector": "^4.0.1",
|
||||
"@types/react-router": "^5.1.3",
|
||||
"@types/react-router-dom": "^5.1.3",
|
||||
"@types/react-router": "^5.1.7",
|
||||
"@types/react-router-dom": "^5.1.5",
|
||||
"@types/react-virtualized": "^9.18.7",
|
||||
"@types/recompose": "^0.30.6",
|
||||
"@types/redux-actions": "^2.6.1",
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-intl": "^2.8.0",
|
||||
"react-router": "^5.1.2",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-router": "^5.2.0",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
"rxjs": "^6.5.5",
|
||||
"symbol-observable": "^1.2.0",
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
"@types/react-beautiful-dnd": "^12.1.1",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"@types/react-redux": "^7.1.9",
|
||||
"@types/react-router-dom": "^5.1.3",
|
||||
"@types/react-router-dom": "^5.1.5",
|
||||
"@types/react-sticky": "^6.0.3",
|
||||
"@types/react-test-renderer": "^16.9.1",
|
||||
"@types/recompose": "^0.30.6",
|
||||
|
@ -329,8 +329,8 @@
|
|||
"react-portal": "^3.2.0",
|
||||
"react-redux": "^7.2.0",
|
||||
"react-reverse-portal": "^1.0.4",
|
||||
"react-router": "^5.1.2",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-router": "^5.2.0",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-shortcuts": "^2.0.0",
|
||||
"react-sticky": "^6.0.3",
|
||||
"react-syntax-highlighter": "^5.7.0",
|
||||
|
|
|
@ -109,26 +109,61 @@ exports[`CertMonitors shallow renders expected elements for valid props 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<CertMonitors
|
||||
monitors={
|
||||
Array [
|
||||
Object {
|
||||
"id": "bad-ssl-dashboard",
|
||||
"name": "",
|
||||
"url": "https://badssl.com/dashboard/",
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
Object {
|
||||
"id": "elastic-co",
|
||||
"name": "elastic",
|
||||
"url": "https://www.elastic.co/",
|
||||
},
|
||||
Object {
|
||||
"id": "extended-validation",
|
||||
"name": "",
|
||||
"url": "https://extended-validation.badssl.com/",
|
||||
},
|
||||
]
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
<CertMonitors
|
||||
monitors={
|
||||
Array [
|
||||
Object {
|
||||
"id": "bad-ssl-dashboard",
|
||||
"name": "",
|
||||
"url": "https://badssl.com/dashboard/",
|
||||
},
|
||||
Object {
|
||||
"id": "elastic-co",
|
||||
"name": "elastic",
|
||||
"url": "https://www.elastic.co/",
|
||||
},
|
||||
Object {
|
||||
"id": "extended-validation",
|
||||
"name": "",
|
||||
"url": "https://extended-validation.badssl.com/",
|
||||
},
|
||||
]
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -90,8 +90,43 @@ exports[`CertificatesSearch shallow renders expected elements for valid props 1`
|
|||
}
|
||||
}
|
||||
>
|
||||
<CertificateSearch
|
||||
setSearch={[MockFunction]}
|
||||
/>
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<CertificateSearch
|
||||
setSearch={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -91,24 +91,59 @@ exports[`CertStatus shallow renders expected elements for valid props 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<CertStatus
|
||||
cert={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"common_name": "github.com",
|
||||
"issuer": "DigiCert SHA2 Extended Validation Server CA",
|
||||
"monitors": Array [
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"id": "github",
|
||||
"name": "",
|
||||
"url": "https://github.com/",
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"not_after": "2020-05-08T00:00:00.000Z",
|
||||
"not_before": "2018-05-08T00:00:00.000Z",
|
||||
"sha1": "ca06f56b258b7a0d4f2b05470939478651151984",
|
||||
"sha256": "3111500c4a66012cdae333ec3fca1c9dde45c954440e7ee413716bff3663c074",
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
<CertStatus
|
||||
cert={
|
||||
Object {
|
||||
"common_name": "github.com",
|
||||
"issuer": "DigiCert SHA2 Extended Validation Server CA",
|
||||
"monitors": Array [
|
||||
Object {
|
||||
"id": "github",
|
||||
"name": "",
|
||||
"url": "https://github.com/",
|
||||
},
|
||||
],
|
||||
"not_after": "2020-05-08T00:00:00.000Z",
|
||||
"not_before": "2018-05-08T00:00:00.000Z",
|
||||
"sha1": "ca06f56b258b7a0d4f2b05470939478651151984",
|
||||
"sha256": "3111500c4a66012cdae333ec3fca1c9dde45c954440e7ee413716bff3663c074",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,20 +51,55 @@ exports[`CertificateList shallow renders expected elements for valid props 1`] =
|
|||
}
|
||||
}
|
||||
>
|
||||
<CertificateList
|
||||
onChange={[MockFunction]}
|
||||
page={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"size": 10,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
sort={
|
||||
Object {
|
||||
"direction": "asc",
|
||||
"field": "not_after",
|
||||
>
|
||||
<CertificateList
|
||||
onChange={[MockFunction]}
|
||||
page={
|
||||
Object {
|
||||
"index": 0,
|
||||
"size": 10,
|
||||
}
|
||||
}
|
||||
}
|
||||
/>
|
||||
sort={
|
||||
Object {
|
||||
"direction": "asc",
|
||||
"field": "not_after",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -150,24 +150,59 @@ exports[`FingerprintCol shallow renders expected elements for valid props 1`] =
|
|||
}
|
||||
}
|
||||
>
|
||||
<FingerprintCol
|
||||
cert={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"common_name": "github.com",
|
||||
"issuer": "DigiCert SHA2 Extended Validation Server CA",
|
||||
"monitors": Array [
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"id": "github",
|
||||
"name": "",
|
||||
"url": "https://github.com/",
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"not_after": "2020-05-08T00:00:00.000Z",
|
||||
"not_before": "2018-05-08T00:00:00.000Z",
|
||||
"sha1": "ca06f56b258b7a0d4f2b05470939478651151984",
|
||||
"sha256": "3111500c4a66012cdae333ec3fca1c9dde45c954440e7ee413716bff3663c074",
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
<FingerprintCol
|
||||
cert={
|
||||
Object {
|
||||
"common_name": "github.com",
|
||||
"issuer": "DigiCert SHA2 Extended Validation Server CA",
|
||||
"monitors": Array [
|
||||
Object {
|
||||
"id": "github",
|
||||
"name": "",
|
||||
"url": "https://github.com/",
|
||||
},
|
||||
],
|
||||
"not_after": "2020-05-08T00:00:00.000Z",
|
||||
"not_before": "2018-05-08T00:00:00.000Z",
|
||||
"sha1": "ca06f56b258b7a0d4f2b05470939478651151984",
|
||||
"sha256": "3111500c4a66012cdae333ec3fca1c9dde45c954440e7ee413716bff3663c074",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -145,6 +145,41 @@ exports[`UptimeDatePicker component validates props with shallow render 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<UptimeDatePicker />
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<UptimeDatePicker />
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,62 +51,97 @@ exports[`MonitorCharts component renders the component without errors 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<DurationChartComponent
|
||||
anomalies={null}
|
||||
loading={false}
|
||||
locationDurationLines={
|
||||
Array [
|
||||
Object {
|
||||
"line": Array [
|
||||
Object {
|
||||
"x": 1548697620000,
|
||||
"y": 743928.2027027027,
|
||||
},
|
||||
Object {
|
||||
"x": 1548697920000,
|
||||
"y": 766840.0133333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1548698220000,
|
||||
"y": 786970.8266666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1548698520000,
|
||||
"y": 781064.7808219178,
|
||||
},
|
||||
Object {
|
||||
"x": 1548698820000,
|
||||
"y": 741563.04,
|
||||
},
|
||||
Object {
|
||||
"x": 1548699120000,
|
||||
"y": 759354.6756756756,
|
||||
},
|
||||
Object {
|
||||
"x": 1548699420000,
|
||||
"y": 737533.3866666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1548699720000,
|
||||
"y": 728669.0266666666,
|
||||
},
|
||||
Object {
|
||||
"x": 1548700020000,
|
||||
"y": 719951.64,
|
||||
},
|
||||
Object {
|
||||
"x": 1548700320000,
|
||||
"y": 769181.7866666666,
|
||||
},
|
||||
Object {
|
||||
"x": 1548700620000,
|
||||
"y": 740805.2666666667,
|
||||
},
|
||||
],
|
||||
"name": "somewhere",
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
]
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
<DurationChartComponent
|
||||
anomalies={null}
|
||||
loading={false}
|
||||
locationDurationLines={
|
||||
Array [
|
||||
Object {
|
||||
"line": Array [
|
||||
Object {
|
||||
"x": 1548697620000,
|
||||
"y": 743928.2027027027,
|
||||
},
|
||||
Object {
|
||||
"x": 1548697920000,
|
||||
"y": 766840.0133333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1548698220000,
|
||||
"y": 786970.8266666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1548698520000,
|
||||
"y": 781064.7808219178,
|
||||
},
|
||||
Object {
|
||||
"x": 1548698820000,
|
||||
"y": 741563.04,
|
||||
},
|
||||
Object {
|
||||
"x": 1548699120000,
|
||||
"y": 759354.6756756756,
|
||||
},
|
||||
Object {
|
||||
"x": 1548699420000,
|
||||
"y": 737533.3866666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1548699720000,
|
||||
"y": 728669.0266666666,
|
||||
},
|
||||
Object {
|
||||
"x": 1548700020000,
|
||||
"y": 719951.64,
|
||||
},
|
||||
Object {
|
||||
"x": 1548700320000,
|
||||
"y": 769181.7866666666,
|
||||
},
|
||||
Object {
|
||||
"x": 1548700620000,
|
||||
"y": 740805.2666666667,
|
||||
},
|
||||
],
|
||||
"name": "somewhere",
|
||||
},
|
||||
]
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -77,26 +77,61 @@ exports[`MonitorBarSeries component shallow renders a series when there are down
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorBarSeries
|
||||
histogramSeries={
|
||||
Array [
|
||||
Object {
|
||||
"down": 1,
|
||||
"timestamp": 124,
|
||||
"up": 0,
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
Object {
|
||||
"down": 1,
|
||||
"timestamp": 125,
|
||||
"up": 0,
|
||||
},
|
||||
Object {
|
||||
"down": 1,
|
||||
"timestamp": 126,
|
||||
"up": 0,
|
||||
},
|
||||
]
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
<MonitorBarSeries
|
||||
histogramSeries={
|
||||
Array [
|
||||
Object {
|
||||
"down": 1,
|
||||
"timestamp": 124,
|
||||
"up": 0,
|
||||
},
|
||||
Object {
|
||||
"down": 1,
|
||||
"timestamp": 125,
|
||||
"up": 0,
|
||||
},
|
||||
Object {
|
||||
"down": 1,
|
||||
"timestamp": 126,
|
||||
"up": 0,
|
||||
},
|
||||
]
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -85,160 +85,195 @@ exports[`PingHistogram component shallow renders the component without errors 1`
|
|||
}
|
||||
}
|
||||
>
|
||||
<PingHistogramComponent
|
||||
absoluteEndDate={1548700920000}
|
||||
absoluteStartDate={1548697920000}
|
||||
data={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"histogram": Array [
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068329000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068359000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068389000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068419000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068449000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068479000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068509000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068539000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068569000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068599000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068629000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068659000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068689000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068719000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 5,
|
||||
"upCount": 34,
|
||||
"x": 1581068749000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068779000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068809000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068839000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068869000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068899000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068929000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068959000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068989000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 1,
|
||||
"upCount": 11,
|
||||
"x": 1581069019000,
|
||||
"y": 1,
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"interval": "1s",
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
<PingHistogramComponent
|
||||
absoluteEndDate={1548700920000}
|
||||
absoluteStartDate={1548697920000}
|
||||
data={
|
||||
Object {
|
||||
"histogram": Array [
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068329000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068359000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068389000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068419000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068449000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068479000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068509000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068539000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068569000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068599000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068629000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068659000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 33,
|
||||
"x": 1581068689000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 6,
|
||||
"upCount": 30,
|
||||
"x": 1581068719000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 5,
|
||||
"upCount": 34,
|
||||
"x": 1581068749000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068779000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068809000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068839000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068869000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068899000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068929000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 33,
|
||||
"x": 1581068959000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 3,
|
||||
"upCount": 36,
|
||||
"x": 1581068989000,
|
||||
"y": 1,
|
||||
},
|
||||
Object {
|
||||
"downCount": 1,
|
||||
"upCount": 11,
|
||||
"x": 1581069019000,
|
||||
"y": 1,
|
||||
},
|
||||
],
|
||||
"interval": "1s",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,8 +51,43 @@ exports[`MonitorCharts component renders the component without errors 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorCharts
|
||||
monitorId="something"
|
||||
/>
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<MonitorCharts
|
||||
monitorId="something"
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -80,6 +80,41 @@ exports[`ML Integrations shallow renders without errors 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MLIntegrationComponent />
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<MLIntegrationComponent />
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -68,15 +68,50 @@ exports[`ML JobLink shallow renders without errors 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MLJobLink
|
||||
basePath=""
|
||||
dateRange={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"from": "",
|
||||
"to": "",
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
monitorId="testMonitor"
|
||||
/>
|
||||
>
|
||||
<MLJobLink
|
||||
basePath=""
|
||||
dateRange={
|
||||
Object {
|
||||
"from": "",
|
||||
"to": "",
|
||||
}
|
||||
}
|
||||
monitorId="testMonitor"
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -80,10 +80,45 @@ exports[`Manage ML Job shallow renders without errors 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<ManageMLJobComponent
|
||||
hasMLJob={true}
|
||||
onEnableJob={[MockFunction]}
|
||||
onJobDelete={[MockFunction]}
|
||||
/>
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<ManageMLJobComponent
|
||||
hasMLJob={true}
|
||||
onEnableJob={[MockFunction]}
|
||||
onJobDelete={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -139,12 +139,47 @@ exports[`SSL Certificate component shallow renders 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorSSLCertificate
|
||||
tls={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"not_after": "2020-04-24T11:41:38.200Z",
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
<MonitorSSLCertificate
|
||||
tls={
|
||||
Object {
|
||||
"not_after": "2020-04-24T11:41:38.200Z",
|
||||
}
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -1372,25 +1372,60 @@ exports[`EmptyState component renders child components when count is truthy 1`]
|
|||
}
|
||||
}
|
||||
>
|
||||
<EmptyStateComponent
|
||||
loading={false}
|
||||
statesIndexStatus={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"docCount": 1,
|
||||
"indexExists": true,
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<div>
|
||||
Foo
|
||||
</div>
|
||||
<div>
|
||||
Bar
|
||||
</div>
|
||||
<div>
|
||||
Baz
|
||||
</div>
|
||||
</EmptyStateComponent>
|
||||
<EmptyStateComponent
|
||||
loading={false}
|
||||
statesIndexStatus={
|
||||
Object {
|
||||
"docCount": 1,
|
||||
"indexExists": true,
|
||||
}
|
||||
}
|
||||
>
|
||||
<div>
|
||||
Foo
|
||||
</div>
|
||||
<div>
|
||||
Bar
|
||||
</div>
|
||||
<div>
|
||||
Baz
|
||||
</div>
|
||||
</EmptyStateComponent>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
||||
|
|
|
@ -75,12 +75,47 @@ exports[`FilterStatusButton shallow renders without errors for valid props 1`] =
|
|||
}
|
||||
}
|
||||
>
|
||||
<FilterStatusButton
|
||||
content="Up"
|
||||
dataTestSubj="foo"
|
||||
isActive={true}
|
||||
value="up"
|
||||
withNext={true}
|
||||
/>
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<FilterStatusButton
|
||||
content="Up"
|
||||
dataTestSubj="foo"
|
||||
isActive={true}
|
||||
value="up"
|
||||
withNext={true}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,21 +51,56 @@ exports[`MonitorList component MonitorListPagination component renders a no item
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [],
|
||||
"totalSummaryCount": 0,
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"loading": false,
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [],
|
||||
"totalSummaryCount": 0,
|
||||
},
|
||||
"loading": false,
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
||||
|
@ -120,83 +155,118 @@ exports[`MonitorList component MonitorListPagination component renders the pagin
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": "{\\"cursorKey\\":{\\"monitor_id\\":456},\\"cursorDirection\\":\\"AFTER\\",\\"sortOrder\\":\\"ASC\\"}",
|
||||
"prevPagePagination": "{\\"cursorKey\\":{\\"monitor_id\\":123},\\"cursorDirection\\":\\"BEFORE\\",\\"sortOrder\\":\\"ASC\\"}",
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"loading": false,
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": "{\\"cursorKey\\":{\\"monitor_id\\":456},\\"cursorDirection\\":\\"AFTER\\",\\"sortOrder\\":\\"ASC\\"}",
|
||||
"prevPagePagination": "{\\"cursorKey\\":{\\"monitor_id\\":123},\\"cursorDirection\\":\\"BEFORE\\",\\"sortOrder\\":\\"ASC\\"}",
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
},
|
||||
"loading": false,
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
||||
|
@ -251,21 +321,56 @@ exports[`MonitorList component renders a no items message when no data is provid
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [],
|
||||
"totalSummaryCount": 0,
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"loading": true,
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [],
|
||||
"totalSummaryCount": 0,
|
||||
},
|
||||
"loading": true,
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
||||
|
@ -320,84 +425,119 @@ exports[`MonitorList component renders error list 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"error": [Error: foo message],
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"loading": false,
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
Object {
|
||||
"error": [Error: foo message],
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
},
|
||||
"loading": false,
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
||||
|
@ -452,83 +592,118 @@ exports[`MonitorList component renders loading state 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"loading": true,
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
},
|
||||
"loading": true,
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
||||
|
@ -1301,82 +1476,117 @@ exports[`MonitorList component shallow renders the monitor list 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"loading": false,
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<MonitorListComponent
|
||||
monitorList={
|
||||
Object {
|
||||
"list": Object {
|
||||
"nextPagePagination": null,
|
||||
"prevPagePagination": null,
|
||||
"summaries": Array [
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 124,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 2,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
Object {
|
||||
"monitor_id": "bar",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 126,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 2,
|
||||
},
|
||||
"timestamp": "125",
|
||||
"url": Object {},
|
||||
},
|
||||
},
|
||||
],
|
||||
"totalSummaryCount": 2,
|
||||
},
|
||||
"loading": false,
|
||||
}
|
||||
}
|
||||
pageSize={10}
|
||||
setPageSize={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -123,6 +123,41 @@ exports[`StatusFilterComponent shallow renders without errors for valid props 1`
|
|||
}
|
||||
}
|
||||
>
|
||||
<StatusFilter />
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<StatusFilter />
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,56 +51,91 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there are
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListDrawerComponent
|
||||
monitorDetails={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"error": Object {
|
||||
"message": "Get https://expired.badssl.com: x509: certificate has expired or is not yet valid",
|
||||
"type": "io",
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"monitorId": "bad-ssl",
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
summary={
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 121,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 123,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 1,
|
||||
>
|
||||
<MonitorListDrawerComponent
|
||||
monitorDetails={
|
||||
Object {
|
||||
"error": Object {
|
||||
"message": "Get https://expired.badssl.com: x509: certificate has expired or is not yet valid",
|
||||
"type": "io",
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {
|
||||
"domain": "expired.badssl.com",
|
||||
"full": "https://expired.badssl.com",
|
||||
},
|
||||
},
|
||||
"monitorId": "bad-ssl",
|
||||
}
|
||||
}
|
||||
}
|
||||
/>
|
||||
summary={
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 121,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.2",
|
||||
"status": "down",
|
||||
},
|
||||
"timestamp": 123,
|
||||
},
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.3",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 125,
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {
|
||||
"domain": "expired.badssl.com",
|
||||
"full": "https://expired.badssl.com",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
||||
|
@ -155,41 +190,76 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there is o
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorListDrawerComponent
|
||||
monitorDetails={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"error": Object {
|
||||
"message": "Get https://expired.badssl.com: x509: certificate has expired or is not yet valid",
|
||||
"type": "io",
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"monitorId": "bad-ssl",
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
summary={
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
>
|
||||
<MonitorListDrawerComponent
|
||||
monitorDetails={
|
||||
Object {
|
||||
"error": Object {
|
||||
"message": "Get https://expired.badssl.com: x509: certificate has expired or is not yet valid",
|
||||
"type": "io",
|
||||
},
|
||||
"monitorId": "bad-ssl",
|
||||
}
|
||||
}
|
||||
summary={
|
||||
Object {
|
||||
"monitor_id": "foo",
|
||||
"state": Object {
|
||||
"checks": Array [
|
||||
Object {
|
||||
"monitor": Object {
|
||||
"ip": "127.0.0.1",
|
||||
"status": "up",
|
||||
},
|
||||
"timestamp": 121,
|
||||
},
|
||||
"timestamp": 121,
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {
|
||||
"domain": "expired.badssl.com",
|
||||
"full": "https://expired.badssl.com",
|
||||
},
|
||||
],
|
||||
"summary": Object {
|
||||
"down": 0,
|
||||
"up": 1,
|
||||
},
|
||||
"timestamp": "123",
|
||||
"url": Object {
|
||||
"domain": "expired.badssl.com",
|
||||
"full": "https://expired.badssl.com",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
/>
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,18 +51,53 @@ exports[`CertificateForm shallow renders expected elements for valid props 1`] =
|
|||
}
|
||||
}
|
||||
>
|
||||
<CertificateExpirationForm
|
||||
fieldErrors={null}
|
||||
formFields={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"certAgeThreshold": 36,
|
||||
"certExpirationThreshold": 7,
|
||||
"heartbeatIndices": "heartbeat-8*",
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
isDisabled={false}
|
||||
loading={false}
|
||||
onChange={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<CertificateExpirationForm
|
||||
fieldErrors={null}
|
||||
formFields={
|
||||
Object {
|
||||
"certAgeThreshold": 36,
|
||||
"certExpirationThreshold": 7,
|
||||
"heartbeatIndices": "heartbeat-8*",
|
||||
}
|
||||
}
|
||||
isDisabled={false}
|
||||
loading={false}
|
||||
onChange={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,18 +51,53 @@ exports[`CertificateForm shallow renders expected elements for valid props 1`] =
|
|||
}
|
||||
}
|
||||
>
|
||||
<IndicesForm
|
||||
fieldErrors={null}
|
||||
formFields={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"certAgeThreshold": 36,
|
||||
"certExpirationThreshold": 7,
|
||||
"heartbeatIndices": "heartbeat-8*",
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
isDisabled={false}
|
||||
loading={false}
|
||||
onChange={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<IndicesForm
|
||||
fieldErrors={null}
|
||||
formFields={
|
||||
Object {
|
||||
"certAgeThreshold": 36,
|
||||
"certExpirationThreshold": 7,
|
||||
"heartbeatIndices": "heartbeat-8*",
|
||||
}
|
||||
}
|
||||
isDisabled={false}
|
||||
loading={false}
|
||||
onChange={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,6 +51,41 @@ exports[`CertificatesPage shallow renders expected elements for valid props 1`]
|
|||
}
|
||||
}
|
||||
>
|
||||
<CertificatesPage />
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<CertificatesPage />
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,6 +51,41 @@ exports[`MonitorPage shallow renders expected elements for valid props 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<MonitorPage />
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<MonitorPage />
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,6 +51,41 @@ exports[`NotFoundPage render component for valid props 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<NotFoundPage />
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
>
|
||||
<NotFoundPage />
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
|
@ -51,106 +51,141 @@ exports[`MonitorPage shallow renders expected elements for valid props 1`] = `
|
|||
}
|
||||
}
|
||||
>
|
||||
<Memo()
|
||||
indexPattern={
|
||||
<ContextProvider
|
||||
value={
|
||||
Object {
|
||||
"fields": Array [
|
||||
"action": "POP",
|
||||
"block": [Function],
|
||||
"canGo": [Function],
|
||||
"createHref": [Function],
|
||||
"entries": Array [
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"date",
|
||||
],
|
||||
"name": "@timestamp",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "date",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.check_group",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"long",
|
||||
],
|
||||
"name": "monitor.duration.us",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.id",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"ip",
|
||||
],
|
||||
"name": "monitor.ip",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "ip",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.name",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.status",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"date_range",
|
||||
],
|
||||
"name": "monitor.timespan",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "unknown",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.type",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
],
|
||||
"title": "heartbeat-7*",
|
||||
"go": [Function],
|
||||
"goBack": [Function],
|
||||
"goForward": [Function],
|
||||
"index": 0,
|
||||
"length": 1,
|
||||
"listen": [Function],
|
||||
"location": Object {
|
||||
"hash": "",
|
||||
"key": "TestKeyForTesting",
|
||||
"pathname": "/",
|
||||
"search": "",
|
||||
"state": undefined,
|
||||
},
|
||||
"push": [Function],
|
||||
"replace": [Function],
|
||||
}
|
||||
}
|
||||
loading={false}
|
||||
setEsKueryFilters={[MockFunction]}
|
||||
/>
|
||||
>
|
||||
<Memo()
|
||||
indexPattern={
|
||||
Object {
|
||||
"fields": Array [
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"date",
|
||||
],
|
||||
"name": "@timestamp",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "date",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.check_group",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"long",
|
||||
],
|
||||
"name": "monitor.duration.us",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.id",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"ip",
|
||||
],
|
||||
"name": "monitor.ip",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "ip",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.name",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.status",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"date_range",
|
||||
],
|
||||
"name": "monitor.timespan",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "unknown",
|
||||
},
|
||||
Object {
|
||||
"aggregatable": true,
|
||||
"esTypes": Array [
|
||||
"keyword",
|
||||
],
|
||||
"name": "monitor.type",
|
||||
"readFromDocValues": true,
|
||||
"searchable": true,
|
||||
"type": "string",
|
||||
},
|
||||
],
|
||||
"title": "heartbeat-7*",
|
||||
}
|
||||
}
|
||||
loading={false}
|
||||
setEsKueryFilters={[MockFunction]}
|
||||
/>
|
||||
</ContextProvider>
|
||||
</ContextProvider>
|
||||
`;
|
||||
|
|
53
yarn.lock
53
yarn.lock
|
@ -1984,7 +1984,7 @@
|
|||
dependencies:
|
||||
regenerator-runtime "^0.13.2"
|
||||
|
||||
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.0", "@babel/runtime@^7.6.2", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.4", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
|
||||
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.0", "@babel/runtime@^7.6.2", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.4", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
|
||||
version "7.9.2"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.9.2.tgz#d90df0583a3a252f09aaa619665367bae518db06"
|
||||
integrity sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q==
|
||||
|
@ -5772,19 +5772,19 @@
|
|||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
"@types/react-router-dom@^5.1.3":
|
||||
version "5.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router-dom/-/react-router-dom-5.1.3.tgz#b5d28e7850bd274d944c0fbbe5d57e6b30d71196"
|
||||
integrity sha512-pCq7AkOvjE65jkGS5fQwQhvUp4+4PVD9g39gXLZViP2UqFiFzsEpB3PKf0O6mdbKsewSK8N14/eegisa/0CwnA==
|
||||
"@types/react-router-dom@^5.1.5":
|
||||
version "5.1.5"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router-dom/-/react-router-dom-5.1.5.tgz#7c334a2ea785dbad2b2dcdd83d2cf3d9973da090"
|
||||
integrity sha512-ArBM4B1g3BWLGbaGvwBGO75GNFbLDUthrDojV2vHLih/Tq8M+tgvY1DSwkuNrPSwdp/GUL93WSEpTZs8nVyJLw==
|
||||
dependencies:
|
||||
"@types/history" "*"
|
||||
"@types/react" "*"
|
||||
"@types/react-router" "*"
|
||||
|
||||
"@types/react-router@*", "@types/react-router@^5.1.3":
|
||||
version "5.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-5.1.3.tgz#7c7ca717399af64d8733d8cb338dd43641b96f2d"
|
||||
integrity sha512-0gGhmerBqN8CzlnDmSgGNun3tuZFXerUclWkqEhozdLaJtfcJRUTGkKaEKk+/MpHd1KDS1+o2zb/3PkBUiv2qQ==
|
||||
"@types/react-router@*", "@types/react-router@^5.1.7":
|
||||
version "5.1.7"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-5.1.7.tgz#e9d12ed7dcfc79187e4d36667745b69a5aa11556"
|
||||
integrity sha512-2ouP76VQafKjtuc0ShpwUebhHwJo0G6rhahW9Pb8au3tQTjYXd2jta4wv6U2tGLR/I42yuG00+UXjNYY0dTzbg==
|
||||
dependencies:
|
||||
"@types/history" "*"
|
||||
"@types/react" "*"
|
||||
|
@ -21804,14 +21804,13 @@ min-indent@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.0.tgz#cfc45c37e9ec0d8f0a0ec3dd4ef7f7c3abe39256"
|
||||
integrity sha1-z8RcN+nsDY8KDsPdTvf3w6vjklY=
|
||||
|
||||
mini-create-react-context@^0.3.0:
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/mini-create-react-context/-/mini-create-react-context-0.3.2.tgz#79fc598f283dd623da8e088b05db8cddab250189"
|
||||
integrity sha512-2v+OeetEyliMt5VHMXsBhABoJ0/M4RCe7fatd/fBy6SMiKazUSEt3gxxypfnk2SHMkdBYvorHRoQxuGoiwbzAw==
|
||||
mini-create-react-context@^0.4.0:
|
||||
version "0.4.0"
|
||||
resolved "https://registry.yarnpkg.com/mini-create-react-context/-/mini-create-react-context-0.4.0.tgz#df60501c83151db69e28eac0ef08b4002efab040"
|
||||
integrity sha512-b0TytUgFSbgFJGzJqXPKCFCBWigAjpjo+Fl7Vf7ZbKRDptszpppKxXH6DRXEABZ/gcEQczeb0iZ7JvL8e8jjCA==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.4.0"
|
||||
gud "^1.0.0"
|
||||
tiny-warning "^1.0.2"
|
||||
"@babel/runtime" "^7.5.5"
|
||||
tiny-warning "^1.0.3"
|
||||
|
||||
mini-css-extract-plugin@0.7.0, mini-css-extract-plugin@^0.7.0:
|
||||
version "0.7.0"
|
||||
|
@ -25945,16 +25944,16 @@ react-reverse-portal@^1.0.4:
|
|||
resolved "https://registry.yarnpkg.com/react-reverse-portal/-/react-reverse-portal-1.0.4.tgz#d127d2c9147549b25c4959aba1802eca4b144cd4"
|
||||
integrity sha512-WESex/wSjxHwdG7M0uwPNkdQXaLauXNHi4INQiRybmFIXVzAqgf/Ak2OzJ4MLf4UuCD/IzEwJOkML2SxnnontA==
|
||||
|
||||
react-router-dom@^5.1.2:
|
||||
version "5.1.2"
|
||||
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.1.2.tgz#06701b834352f44d37fbb6311f870f84c76b9c18"
|
||||
integrity sha512-7BPHAaIwWpZS074UKaw1FjVdZBSVWEk8IuDXdB+OkLb8vd/WRQIpA4ag9WQk61aEfQs47wHyjWUoUGGZxpQXew==
|
||||
react-router-dom@^5.2.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.2.0.tgz#9e65a4d0c45e13289e66c7b17c7e175d0ea15662"
|
||||
integrity sha512-gxAmfylo2QUjcwxI63RhQ5G85Qqt4voZpUXSEqCwykV0baaOTQDR1f0PmY8AELqIyVc0NEZUj0Gov5lNGcXgsA==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.1.2"
|
||||
history "^4.9.0"
|
||||
loose-envify "^1.3.1"
|
||||
prop-types "^15.6.2"
|
||||
react-router "5.1.2"
|
||||
react-router "5.2.0"
|
||||
tiny-invariant "^1.0.2"
|
||||
tiny-warning "^1.0.0"
|
||||
|
||||
|
@ -25963,16 +25962,16 @@ react-router-redux@^4.0.8:
|
|||
resolved "https://registry.yarnpkg.com/react-router-redux/-/react-router-redux-4.0.8.tgz#227403596b5151e182377dab835b5d45f0f8054e"
|
||||
integrity sha1-InQDWWtRUeGCN32rg1tdRfD4BU4=
|
||||
|
||||
react-router@5.1.2, react-router@^5.1.2:
|
||||
version "5.1.2"
|
||||
resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.1.2.tgz#6ea51d789cb36a6be1ba5f7c0d48dd9e817d3418"
|
||||
integrity sha512-yjEuMFy1ONK246B+rsa0cUam5OeAQ8pyclRDgpxuSCrAlJ1qN9uZ5IgyKC7gQg0w8OM50NXHEegPh/ks9YuR2A==
|
||||
react-router@5.2.0, react-router@^5.2.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.2.0.tgz#424e75641ca8747fbf76e5ecca69781aa37ea293"
|
||||
integrity sha512-smz1DUuFHRKdcJC0jobGo8cVbhO3x50tCL4icacOlcwDOEQPq4TMqwx3sY1TP+DvtTgz4nm3thuo7A+BK2U0Dw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.1.2"
|
||||
history "^4.9.0"
|
||||
hoist-non-react-statics "^3.1.0"
|
||||
loose-envify "^1.3.1"
|
||||
mini-create-react-context "^0.3.0"
|
||||
mini-create-react-context "^0.4.0"
|
||||
path-to-regexp "^1.7.0"
|
||||
prop-types "^15.6.2"
|
||||
react-is "^16.6.0"
|
||||
|
@ -30195,7 +30194,7 @@ tiny-warning@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.2.tgz#1dfae771ee1a04396bdfde27a3adcebc6b648b28"
|
||||
integrity sha512-rru86D9CpQRLvsFG5XFdy0KdLAvjdQDyZCsRcuu60WtzFylDM3eAWSxEVz5kzL2Gp544XiUvPbVKtOA/txLi9Q==
|
||||
|
||||
tiny-warning@^1.0.2:
|
||||
tiny-warning@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"
|
||||
integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==
|
||||
|
|
Loading…
Reference in a new issue