Skip to content

Commit

Permalink
fix test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Nov 14, 2023
1 parent 073390a commit 2d93402
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/kbn-reporting/export_types/png/png_v2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
Expand All @@ -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' },
})
);
});
Expand Down

0 comments on commit 2d93402

Please sign in to comment.