Skip to content

Commit 779f121

Browse files
committed
test(replay): assert outside-root rename mapping
1 parent d288d62 commit 779f121

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎scripts/__tests__/eager-closure-budgets.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ test('a renamed entry is followed to its path at the base, not treated as first-
434434
cwd: repo,
435435
});
436436
const withOutsideRename = renamedSince(repo, 'HEAD');
437+
expect(withOutsideRename.get('packages/demo/src/standalone.ts')).toBe('scripts/standalone.ts');
437438
expect(
438439
baseProductionPathOf(repo, 'packages/demo/src/standalone.ts', baseTree, withOutsideRename),
439440
).toBe(null);

0 commit comments

Comments
 (0)