(oid: string, msg: string)
| 995 | |
| 996 | describe("runGitCli — log argv parsing", () => { |
| 997 | const sample = (oid: string, msg: string): CommitView => ({ |
| 998 | oid, |
| 999 | message: msg, |
| 1000 | tree: "", |
| 1001 | parent: [], |
| 1002 | author: { |
| 1003 | name: "A", |
| 1004 | email: "a@x", |
| 1005 | timestamp: 1_700_000_000, |
| 1006 | timezoneOffset: 0, |
| 1007 | }, |
| 1008 | committer: { |
| 1009 | name: "A", |
| 1010 | email: "a@x", |
| 1011 | timestamp: 1_700_000_000, |
| 1012 | timezoneOffset: 0, |
| 1013 | }, |
| 1014 | }); |
| 1015 | |
| 1016 | it("--oneline emits one line per commit", async () => { |
| 1017 | const { client } = fakeClient( |