(...args: string[])
| 70 | }); |
| 71 | |
| 72 | async function runCommand(...args: string[]): Promise<void> { |
| 73 | const program = new Command(); |
| 74 | program.exitOverride(); // throw instead of process.exit on commander errors |
| 75 | registerAuthCommands(program); |
| 76 | await program.parseAsync(["node", "test", ...args]); |
| 77 | } |
| 78 | |
| 79 | describe("login command", () => { |
| 80 | test("skips login when valid token exists", async () => { |
no test coverage detected