fix(tests): alert.alertmanager doesn't have uri key

This commit is contained in:
Łukasz Mierzwa
2018-09-30 09:23:43 +01:00
parent cc1e5b4562
commit 455cb288ca
3 changed files with 0 additions and 3 deletions

View File

@@ -16,7 +16,6 @@ const mockAfterUpdate = jest.fn();
const alertmanager = {
name: "default",
uri: "http://localhost",
state: "suppressed",
startsAt: "2000-01-01T10:00:00Z",
endsAt: "0001-01-01T00:00:00Z",

View File

@@ -11,7 +11,6 @@ const Annotation = PropTypes.exact({
const APIAlertAlertmanagerState = PropTypes.exact({
name: PropTypes.string.isRequired,
uri: PropTypes.string.isRequired,
state: AlertState.isRequired,
startsAt: PropTypes.string.isRequired,
endsAt: PropTypes.string.isRequired,

View File

@@ -14,7 +14,6 @@ const MockAlert = (annotations, labels, state) => ({
alertmanager: [
{
name: "default",
uri: "file:///mock",
state: "active",
startsAt: "2018-08-14T17:36:40.017867056Z",
endsAt: "0001-01-01T00:00:00Z",