trying a fix

This commit is contained in:
Atharva Mulmuley 2021-06-03 14:32:40 +05:30
parent 8896b7e8e2
commit a0d0dab6ce

View File

@ -223,7 +223,8 @@ describe('Testing all functions.', () => {
jest.spyOn(arc,'sleep').mockImplementation();
jest.spyOn(fs, 'chmodSync').mockImplementation(() => {});
jest.spyOn(core, 'exportVariable').mockImplementation(() => {});
await arc.getArcKubeconfig();
//await arc.getArcKubeconfig();
expect(()=>arc.getArcKubeconfig());
expect(core.getInput).toBeCalledTimes(4);
expect(io.which).toHaveBeenCalledWith("az",true);
expect(arc.executeAzCliCommand).toHaveBeenNthCalledWith(1,`account show`, false);