(gitDir: Listing, applyDir: Listing = [])
| 79 | }) |
| 80 | |
| 81 | const fetchedIn = (gitDir: Listing, applyDir: Listing = []) => |
| 82 | Git.fetchDiff( |
| 83 | depsOf(trackedNoUntrackedOf(), { |
| 84 | entryKindsOf: dir => |
| 85 | Promise.resolve( |
| 86 | listingOf( |
| 87 | new Map([ |
| 88 | ['/repo/.git', gitDir], |
| 89 | ['/repo/.git/rebase-apply', applyDir], |
| 90 | ]).get(dir) ?? Fixtures.FILES_LISTING, |
| 91 | ), |
| 92 | ), |
| 93 | }), |
| 94 | 'session', |
| 95 | ) |
| 96 | |
| 97 | test('session mode: rows tagged by mtime, untracked merged', async () => { |
| 98 | const outcome = await Git.fetchDiff( |
no test coverage detected