Skip to content

test: add Base64 and URL encoder coverage#151

Open
swetha-loco wants to merge 1 commit into
NovaCode37:mainfrom
swetha-loco:test/base64-url-encoder
Open

test: add Base64 and URL encoder coverage#151
swetha-loco wants to merge 1 commit into
NovaCode37:mainfrom
swetha-loco:test/base64-url-encoder

Conversation

@swetha-loco

Copy link
Copy Markdown

Summary

  • Extracted the Base64/URL encoder logic into a small utility so it can be tested directly.
  • Added frontend coverage for Base64 and URL encoding/decoding.
  • Covered round trips, invalid input handling, empty input, unicode, spaces, +, and % edge cases.
  • Added test:encoder and included it in CI.

Tests

  • npm run test:encoder
  • npm run test:urls
  • npm run test:i18n
  • npx tsc --noEmit
  • npm run lint
  • pytest tests/ -v --basetemp=.pytest-tmp

Closes #143

@swetha-loco swetha-loco requested a review from NovaCode37 as a code owner July 1, 2026 21:05
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.

Add unit tests for the Base64/URL encoder tool

1 participant