Skip to content

Commit

Permalink
Merge pull request #73 from naveedkhan8067/test-abc
Browse files Browse the repository at this point in the history
demo
  • Loading branch information
naveedkhan8067 authored Dec 2, 2024
2 parents 782de96 + fed4522 commit 618f3cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/hello-world/src/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function GetVariantType (): string {
*/
export function CreateMsgString (): string {
const variant = GetVariantType();
const msgString = "*** " + variant + " platform --> Hello-World ***"
const msgString = "*** " + variant + " platform --> Hello-World Naveed***"
return msgString;
}

Expand Down
8 changes: 4 additions & 4 deletions components/hello-world/src/test/Main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ describe("Hello-World Component Tests", async () => {

#if "VARIANT" == "MAC"
expect(variantType).to.equal("Mac");
expect(msgString).to.equal("*** Mac platform --> Hello-World ***");
expect(msgString).to.equal("*** Mac platform --> Hello-World Naveed***");
#elif "VARIANT" == "LINUX"
expect(variantType).to.equal("Linux");
expect(msgString).to.equal("*** Linux platform --> Hello-World ***");
expect(msgString).to.equal("*** Linux platform --> Hello-World Naveed***");
#else
expect(variantType).to.equal("Windows");
expect(msgString).to.equal("*** Windows platform --> Hello-World ***");
expect(msgString).to.equal("*** Windows platform --> Hello-World Naveed***");
#endif
DisplayMsg(msgString);
});
});
});

0 comments on commit 618f3cb

Please sign in to comment.