mirror of
https://github.com/Azure/k8s-set-context
synced 2025-09-24 04:28:57 +00:00
fix for promise
This commit is contained in:
parent
754b6cda98
commit
e8b22d0c21
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue