Skip to content

Commit 8184897

Browse files
Dimitar Fenerskiclaude
andcommitted
fix: add missing doc_id/title fields in OutlineSidebar test fixture
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1ae07c2 commit 8184897

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/__tests__/OutlineSidebar.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class MockIntersectionObserver {
3333
}
3434

3535
const makeDocInfo = (pageCount = 3): DocumentInfo => ({
36+
doc_id: 'test-doc',
37+
title: 'Test',
3638
page_count: pageCount,
3739
pages: Array.from({ length: pageCount }, () => ({ width_pts: 612, height_pts: 792, aspect_ratio: 0.75 })),
3840
})

0 commit comments

Comments
 (0)