From 70f62514f4e21258ca85b1101f5a3347066fa721 Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Mon, 19 Dec 2022 15:57:11 -0700 Subject: [PATCH] removes ts error --- test/analytics/tests/analytics_from_the_browser.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/test/analytics/tests/analytics_from_the_browser.ts b/test/analytics/tests/analytics_from_the_browser.ts index 157cad01299d1..9636e1854b0c1 100644 --- a/test/analytics/tests/analytics_from_the_browser.ts +++ b/test/analytics/tests/analytics_from_the_browser.ts @@ -172,7 +172,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should call flush when using the window-exposed flush method', async () => { await browser.execute(() => window.__kbnAnalytics.flush()); - // @ts-expect-error const action = await browser.execute(() => window.__analyticsPluginA__.getFlushAction()); expect(action).to.eql({ action: 'flush', meta: {} }); });