From 73296b44d178365d5b438a047f9c54ba583eaecc Mon Sep 17 00:00:00 2001 From: jace-roell Date: Mon, 16 Dec 2024 12:39:12 -0500 Subject: [PATCH] system test fix Signed-off-by: jace-roell --- .../__system__/methods/upload/Upload.system.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/zosfiles/__tests__/__system__/methods/upload/Upload.system.test.ts b/packages/zosfiles/__tests__/__system__/methods/upload/Upload.system.test.ts index adeaa4f69..744a2d454 100644 --- a/packages/zosfiles/__tests__/__system__/methods/upload/Upload.system.test.ts +++ b/packages/zosfiles/__tests__/__system__/methods/upload/Upload.system.test.ts @@ -326,7 +326,7 @@ describe("Upload Data Set", () => { expect(error).toBeFalsy(); - expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "Buffer<>","to": dsname+"(TEST)"}); + expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "","to": dsname+"(TEST)"}); expect(Buffer.from(getResponse.toString().trim())).toEqual(data); }); @@ -349,7 +349,7 @@ describe("Upload Data Set", () => { expect(error).toBeFalsy(); - expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "Stream<>","to": dsname+"(TEST)"}); + expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "[Readable]","to": dsname+"(TEST)"}); expect(getResponse.toString().trim()).toEqual(testdata); }); @@ -793,7 +793,7 @@ describe("Upload USS file", () => { expect(error).toBeFalsy(); - expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "Buffer<>","to": ussname}); + expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "","to": ussname}); expect(getResponse).toEqual(Buffer.from(data.toString())); }); @@ -815,7 +815,7 @@ describe("Upload USS file", () => { expect(error).toBeFalsy(); - expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "Stream<>","to": ussname}); + expect(uploadResponse.apiResponse).toMatchObject({"success": true, "from": "[Readable]","to": ussname}); expect(getResponse).toEqual(Buffer.from(testdata)); });