test(05-01): add unit tests for Y-flip coordinate conversion formula
- Created src/lib/pdf/__tests__/prepare-document.test.ts with 10 test cases - Tests verify Y-axis flip: screenY=0 → pdfY≈792, screenY=792 → pdfY≈0 - Tests verify scale-invariance at both 1:1 and 50% zoom ratios - Installed jest, ts-jest, @types/jest and added jest config to package.json - All 10 tests pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4471
teressa-copeland-homes/package-lock.json
generated
4471
teressa-copeland-homes/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user