Skip to content

test: add direct coverage for documented public APIs#149

Open
nice-hang wants to merge 1 commit intochenglou:mainfrom
nice-hang:public-api-test-coverage
Open

test: add direct coverage for documented public APIs#149
nice-hang wants to merge 1 commit intochenglou:mainfrom
nice-hang:public-api-test-coverage

Conversation

@nice-hang
Copy link
Copy Markdown

Summary

  • add direct regression tests for materializeLineRange()
  • add direct regression tests for measureNaturalWidth()
  • add direct regression tests for layoutNextRichInlineLineRange()

Test plan

bun test src/layout.test.ts
image

Related issue

#143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant