From 40c843a8880650411959d3b439778cfb47120400 Mon Sep 17 00:00:00 2001 From: corentin Date: Tue, 10 Sep 2024 16:41:20 +0200 Subject: [PATCH] Update fixtures --- src/commands/synthetics/__tests__/utils/public.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/synthetics/__tests__/utils/public.test.ts b/src/commands/synthetics/__tests__/utils/public.test.ts index 209d5379f..1a90a88dd 100644 --- a/src/commands/synthetics/__tests__/utils/public.test.ts +++ b/src/commands/synthetics/__tests__/utils/public.test.ts @@ -833,6 +833,8 @@ describe('utils', () => { const apiTest = getApiTest('pid') const result: Result = { executionRule: ExecutionRule.BLOCKING, + initialResultId: undefined, + isNonFinal: false, location: mockLocation.display_name, passed: true, result: getBrowserServerResult({passed: true}), @@ -1058,7 +1060,7 @@ describe('utils', () => { }) expect(mockReporter.resultEnd).toHaveBeenNthCalledWith( 3, - {...result, resultId: 'rid-3', passed: false}, // the first attempt failed, so it's being retried + {...result, isNonFinal: true, resultId: 'rid-3', passed: false}, // the first attempt failed, so it's being retried MOCK_BASE_URL, 'bid' )