( repo: Repository, file: WorkingDirectoryFileChange )
| 38 | import { join } from 'node:path' |
| 39 | |
| 40 | async function getTextDiff( |
| 41 | repo: Repository, |
| 42 | file: WorkingDirectoryFileChange |
| 43 | ): Promise<ITextDiff> { |
| 44 | const diff = await getWorkingDirectoryDiff(repo, file) |
| 45 | assert.equal(diff.kind, DiffType.Text) |
| 46 | return diff as ITextDiff |
| 47 | } |
| 48 | |
| 49 | describe('git/diff', () => { |
| 50 | describe('getWorkingDirectoryImage', () => { |
no test coverage detected