mirror of
https://github.com/ditkrg/k8s-set-context.git
synced 2026-01-22 22:06:49 +00:00
fix for promise
This commit is contained in:
parent
754b6cda98
commit
e8b22d0c21
@ -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 New Issue
Block a user