Skip to content

Add unit tests for normalizeFileUrl - #1

Open
nonoxz wants to merge 1 commit into
roboloop:mainfrom
nonoxz:test/normalize-file-url-unit-test
Open

Add unit tests for normalizeFileUrl#1
nonoxz wants to merge 1 commit into
roboloop:mainfrom
nonoxz:test/normalize-file-url-unit-test

Conversation

@nonoxz

@nonoxz nonoxz commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • Adds unit tests for normalizeFileUrl in src/shared/paths.ts, which had no test coverage
  • Covers: stripping the file:// scheme, percent-decoding, and plain paths passing through unchanged

Test plan

  • npm test — all 3 new tests pass

Covers the file:// scheme stripping and percent-decoding behavior of
normalizeFileUrl, which had no test coverage.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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