(run: CommandDef["run"])
| 10 | await import("./command-failure-tracking.js"); |
| 11 | |
| 12 | function defineRun(run: CommandDef["run"]): CommandDef { |
| 13 | return { meta: { name: "test" }, run }; |
| 14 | } |
| 15 | |
| 16 | describe("trackCommandFailures", () => { |
| 17 | it("reports the error and re-throws when run() rejects", async () => { |
no outgoing calls
no test coverage detected