new commit with all changes (#258)

This commit is contained in:
Jaiveer Katariya
2022-11-21 10:30:35 -05:00
committed by GitHub
parent e9693a7cdd
commit 58ba3f0665
8 changed files with 165 additions and 36 deletions
-11
View File
@@ -48,17 +48,6 @@ describe('Kubectl class', () => {
return execReturn
})
})
describe('omits default namespace from commands', () => {
it('executes a command without appending --namespace arg', async () => {
// no args
const command = 'command'
expect(await kubectl.executeCommand(command)).toBe(execReturn)
expect(exec.getExecOutput).toBeCalledWith(kubectlPath, [command], {
silent: false
})
})
})
})
describe('with a success exec return in testNamespace', () => {