From 2d934025d52e8feacfa2152970c8271442931157 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Mon, 13 Nov 2023 22:52:50 -0700 Subject: [PATCH] fix test 3 --- packages/kbn-reporting/export_types/png/png_v2.test.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/kbn-reporting/export_types/png/png_v2.test.ts b/packages/kbn-reporting/export_types/png/png_v2.test.ts index e1031e4170949..3857d24453484 100644 --- a/packages/kbn-reporting/export_types/png/png_v2.test.ts +++ b/packages/kbn-reporting/export_types/png/png_v2.test.ts @@ -80,7 +80,7 @@ test(`passes browserTimezone to generatePng`, async () => { 'pngJobId', getBasePayload({ forceNow: 'test', - locatorParams: [{ version: 'test', id: 'test', params: {} }] as LocatorParams[], + locatorParams: [], browserTimezone, headers: encryptedHeaders, }), @@ -92,14 +92,9 @@ test(`passes browserTimezone to generatePng`, async () => { expect.anything(), expect.anything(), expect.objectContaining({ - urls: [ - [ - 'http://localhost:80/mock-server-basepath/app/reportingRedirect?forceNow=test', - { id: 'test', params: {}, version: 'test' }, - ], - ], browserTimezone: 'UTC', headers: {}, + layout: { id: 'preserve_layout' }, }) ); });