From ba3ec72de1c3fc36a02f2a564b17354785f486f0 Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Thu, 30 Sep 2021 18:42:39 +0200 Subject: [PATCH] Fix TS error --- .../server/lib/reindexing/reindex_service.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts index 4316ef5e69d63..e49fe4139a1a5 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts @@ -762,7 +762,7 @@ describe('reindexService', () => { } as ReindexSavedObject; it('sets reindex status as complete', async () => { - const updatedOp = await service.processNextStep(reindexOp); + await service.processNextStep(reindexOp); expect(actions.updateReindexOp).toHaveBeenCalledWith(reindexOp, { status: ReindexStatus.completed, });