Skip to content

Commit

Permalink
updated unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Pujal <[email protected]>
  • Loading branch information
pujal0909 committed Jan 8, 2025
1 parent d35c259 commit 82135ec
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/zosfiles/__tests__/__unit__/methods/copy/Copy.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,17 +570,17 @@ describe("Copy", () => {
commandResponse: ZosFilesMessages.datasetCopiedSuccessfully.message
});
});
it("should return early if the source and target data sets are identical", async () => {
const response = await Copy.dataSet(
dummySession,
{ dsn: fromDataSetName},
{"from-dataset": { dsn: fromDataSetName}
});
});
it("should return early if the source and target data sets are identical", async () => {
const response = await Copy.dataSet(
dummySession,
{ dsn: fromDataSetName},
{"from-dataset": { dsn: fromDataSetName}
});

expect(response).toEqual({
success: false,
commandResponse: `The source and target data sets are identical.`
});
expect(response).toEqual({
success: false,
commandResponse: `The source and target data sets are identical.`
});
});
});
Expand Down

0 comments on commit 82135ec

Please sign in to comment.