Skip to content

Commit

Permalink
trying to fix my 2 added unit tests for terminal output given flags
Browse files Browse the repository at this point in the history
Signed-off-by: Amber <amber.torrise@broadcom.com>
  • Loading branch information
ATorrise committed Nov 5, 2024
1 parent a3c8850 commit bfde641
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ describe("Command Processor", () => {
arguments: {
_: ["sample", "cmd", "--help"],
$0: "",
valid: true
valid: false
}
};

const versionParms: any = {
arguments: {
_: ["sample", "cmd", "--version"],
$0: "",
valid: true
valid: false
}
};

Expand All @@ -220,7 +220,7 @@ describe("Command Processor", () => {
commandLine: "",
promptPhrase: "dummyPrompt",
config: {
isValid: () => false, // Simulate faulty config
validate: () => ({valid: false}), // Simulate faulty config
} as any,
});

Expand Down

0 comments on commit bfde641

Please sign in to comment.