Skip to content

Commit

Permalink
review: address previous PR comment 😋
Browse files Browse the repository at this point in the history
Signed-off-by: zFernand0 <[email protected]>
  • Loading branch information
zFernand0 committed Aug 1, 2024
1 parent bc2bb71 commit c610849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/zowe-explorer-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t
- **Next Breaking:** Changed `ProfilesCache.convertV1ProfToConfig` method to be a static method that requires `ProfileInfo` instance as a parameter.
- Added the `onVaultUpdate` VSCode event to notify extenders when credentials are updated on the OS vault by other applications. [#2994](https://github.com/zowe/zowe-explorer-vscode/pull/2994)
- Added the `onCredMgrsUpdate` VSCode event to notify extenders when the local PC's credential manager has been updated by other applications. [#2994](https://github.com/zowe/zowe-explorer-vscode/pull/2994)
- Updated most function signatures for exported programmatic interfaces. Changes make developing with the Zowe Explorer API more efficient for extenders by showing which properties they can expect when calling our APIs. [#2952](https://github.com/zowe/zowe-explorer-vscode/issues/2952)
- **Breaking:** Updated most function signatures for exported programmatic interfaces. Changes make developing with the Zowe Explorer API more efficient for extenders by showing which properties they can expect when calling our APIs. [#2952](https://github.com/zowe/zowe-explorer-vscode/issues/2952)

### Bug fixes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ describe("Dataset Actions Unit Tests - Function createMember", () => {
parentNode: blockMocks.datasetSessionNode,
session: blockMocks.session,
});
const nonFavoriteLabel = parent.label;
parent.label = parent.label?.toString();
const nonFavoriteLabel = parent.label?.toString();
parent.contextValue = Constants.DS_PDS_CONTEXT + Constants.FAV_SUFFIX;

const mySpy = mocked(vscode.window.showInputBox).mockResolvedValue("testMember");
Expand All @@ -262,7 +261,7 @@ describe("Dataset Actions Unit Tests - Function createMember", () => {
expect(mocked(zosfiles.Upload.bufferToDataSet)).toHaveBeenCalledWith(
blockMocks.zosmfSession,
Buffer.from(""),
(nonFavoriteLabel as string) + "(TESTMEMBER)",
nonFavoriteLabel + "(TESTMEMBER)",
{
responseTimeout: blockMocks.imperativeProfile.profile?.responseTimeout,
}
Expand Down

0 comments on commit c610849

Please sign in to comment.