From 8896b7e8e2f579ebb1b94c25d72a497aced88d61 Mon Sep 17 00:00:00 2001 From: Atharva Mulmuley Date: Thu, 3 Jun 2021 14:01:27 +0530 Subject: [PATCH] fix --- __tests__/run.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/run.test.ts b/__tests__/run.test.ts index 8e35f048..38596ad2 100644 --- a/__tests__/run.test.ts +++ b/__tests__/run.test.ts @@ -223,7 +223,7 @@ describe('Testing all functions.', () => { jest.spyOn(arc,'sleep').mockImplementation(); jest.spyOn(fs, 'chmodSync').mockImplementation(() => {}); jest.spyOn(core, 'exportVariable').mockImplementation(() => {}); - expect(await arc.getArcKubeconfig()); + await arc.getArcKubeconfig(); expect(core.getInput).toBeCalledTimes(4); expect(io.which).toHaveBeenCalledWith("az",true); expect(arc.executeAzCliCommand).toHaveBeenNthCalledWith(1,`account show`, false);