Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Amber Torrise <[email protected]>
  • Loading branch information
ATorrise committed Feb 20, 2024
1 parent 9aaa0a6 commit 0a8b311
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ describe("Tests for EnvQuery module", () => {

it("should report Zowe team configuration info", async () => {
const itemObj: IGetItemVal = await EnvQuery.getEnvItemVal(ItemId.ZOWE_CONFIG_TYPE);
expect(itemObj.itemVal).toContain("Team Config");
expect(itemObj.itemValMsg).toContain("Zowe daemon mode = off");
expect(itemObj.itemValMsg).toContain("Team config files in effect:");
expect(itemObj.itemValMsg).toContain("fakeDir/zowe.config.json");
Expand All @@ -304,7 +303,6 @@ describe("Tests for EnvQuery module", () => {

// return the values that we want from external commands
const itemObj: IGetItemVal = await EnvQuery.getEnvItemVal(ItemId.ZOWE_CONFIG_TYPE);
expect(itemObj.itemVal).toContain("Team Config");
expect(itemObj.itemValMsg).toContain("Zowe daemon mode = on");
expect(itemObj.itemValMsg).toMatch(/Default Zowe daemon executable directory = this_is_a_fake_cli_home_dir.bin/);
expect(itemObj.itemProbMsg).toBe("");
Expand Down

0 comments on commit 0a8b311

Please sign in to comment.