Fix the major update packages including Jest. (#414)

Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
This commit is contained in:
Tatsinnit
2025-06-19 05:12:52 +12:00
committed by GitHub
parent 1feba4ce5c
commit 6fd713ca6a
9 changed files with 3074 additions and 1622 deletions
+4 -4
View File
@@ -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}