From 35a4274048137a613a02706ab1d8ebe9fa8ef05f Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Tue, 24 May 2022 05:29:23 +0100 Subject: [PATCH] fix(NA): include status on syncthetics_store.mock.ts (#132764) --- .../testing/__mocks__/syncthetics_store.mock.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/syncthetics_store.mock.ts b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/syncthetics_store.mock.ts index 3b357cb18fa7c..a045c7a7f7bed 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/syncthetics_store.mock.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/utils/testing/__mocks__/syncthetics_store.mock.ts @@ -6,6 +6,7 @@ */ import { SyntheticsAppState } from '../../../state/root_reducer'; +import { LocationStatus } from '../../../../../../common/runtime_types'; /** * NOTE: This variable name MUST start with 'mock*' in order for @@ -36,6 +37,18 @@ export const mockState: SyntheticsAppState = { }, url: 'https://test.elastic.dev', isServiceManaged: true, + status: LocationStatus.GA, + }, + { + id: 'us_east', + label: 'US East', + geo: { + lat: 41.25, + lon: -95.86, + }, + url: 'https://test.elastic.dev', + isServiceManaged: true, + status: LocationStatus.EXPERIMENTAL, }, ], loading: false,