Update semantic exit code test
This commit is contained in:
1 parent
7bf40dd726
commit
5242df2392
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,7 @@ describe("CLI version & help handling", () => {
|
||||
|
||||
test("invalid command displays unknown command error with help hint", () => {
|
||||
const result = runCli(["invalid-command"]);
|
||||
expect(result.status).toBe(1);
|
||||
expect(result.status).toBe(2);
|
||||
expect(result.stderr).toContain("Unknown command: invalid-command. Run 'seal-use help' for available commands.");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user