Skip to content

Commit 0ee7121

Browse files
committed
Logging
1 parent 7ba9d0d commit 0ee7121

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

simple-git/test/integration/diff-summary.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ describe('diffSummary', () => {
99
const task = git.diffSummary([emptyCommit, firstCommit]);
1010
const result = await task;
1111

12+
console.log(
13+
(await git.raw('diff', '--stat=4096', emptyCommit, firstCommit)).replace(/\s/g, '#')
14+
);
15+
console.log(JSON.stringify(result, null, 2));
16+
1217
expect(result.changed).toBeGreaterThan(0);
1318
expect(result.changed).toBe(result.files.length);
1419
expect(result.insertions).toBeGreaterThan(0);

0 commit comments

Comments
 (0)