worktree: Use public-api-only tests (#47152)

- **settings: Do not leak type serialization into downstream crates**
- **worktree: Separate integration tests into separate target**

Release Notes:

- N/A
1f4741cd5fPiotr Osiewicz committed on 1/22/2026, 9:22:04 AM· committed by GitHubparent67e0cec
8 files changedLine totals unavailable