mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-24 13:39:27 +08:00
Fix the major update packages including Jest. (#414)
Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
This commit is contained in:
@@ -19,7 +19,7 @@ describe('Docker class', () => {
|
||||
|
||||
test('pulls an image', async () => {
|
||||
await docker.pull(image, args)
|
||||
expect(actions.getExecOutput).toBeCalledWith(
|
||||
expect(actions.getExecOutput).toHaveBeenCalledWith(
|
||||
dockerPath,
|
||||
['pull', image, ...args],
|
||||
{silent: false}
|
||||
@@ -28,7 +28,7 @@ describe('Docker class', () => {
|
||||
|
||||
test('pulls an image silently', async () => {
|
||||
await docker.pull(image, args, true)
|
||||
expect(actions.getExecOutput).toBeCalledWith(
|
||||
expect(actions.getExecOutput).toHaveBeenCalledWith(
|
||||
dockerPath,
|
||||
['pull', image, ...args],
|
||||
{silent: true}
|
||||
@@ -38,7 +38,7 @@ describe('Docker class', () => {
|
||||
test('inspects a docker image', async () => {
|
||||
const result = await docker.inspect(image, args)
|
||||
expect(result).toBe(execReturn.stdout)
|
||||
expect(actions.getExecOutput).toBeCalledWith(
|
||||
expect(actions.getExecOutput).toHaveBeenCalledWith(
|
||||
dockerPath,
|
||||
['inspect', image, ...args],
|
||||
{silent: false}
|
||||
@@ -48,7 +48,7 @@ describe('Docker class', () => {
|
||||
test('inspects a docker image silently', async () => {
|
||||
const result = await docker.inspect(image, args, true)
|
||||
expect(result).toBe(execReturn.stdout)
|
||||
expect(actions.getExecOutput).toBeCalledWith(
|
||||
expect(actions.getExecOutput).toHaveBeenCalledWith(
|
||||
dockerPath,
|
||||
['inspect', image, ...args],
|
||||
{silent: true}
|
||||
|
||||
Reference in New Issue
Block a user