mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-29 16:29:27 +08:00
updated Readme and action.yml
This commit is contained in:
@@ -289,8 +289,10 @@ describe('Kubectl class', () => {
|
||||
it('gets resource', async () => {
|
||||
const resourceType = 'type'
|
||||
const name = 'name'
|
||||
const annotations: {[key: string] : string} = {}
|
||||
expect(await kubectl.getResource(resourceType, name, annotations)).toBe(execReturn)
|
||||
const annotations: {[key: string]: string} = {}
|
||||
expect(
|
||||
await kubectl.getResource(resourceType, name, annotations)
|
||||
).toBe(execReturn)
|
||||
expect(exec.getExecOutput).toBeCalledWith(
|
||||
kubectlPath,
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user