Skip to content

test: add deep link parsing and env validation unit tests - #887

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
TomikeDS:feat/TomikeDS-nav-env-tests
Jul 27, 2026
Merged

test: add deep link parsing and env validation unit tests#887
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
TomikeDS:feat/TomikeDS-nav-env-tests

Conversation

@TomikeDS

Copy link
Copy Markdown

Closes #844
Closes #845

Summary

Adds unit tests for navigation deep link configuration and environment variable validation.

Changes

  • src/__tests__/linkingConfig.test.ts: Deep link parsing tests for valid URLs, missing params, XSS payloads, and unknown routes
  • src/__tests__/env.test.ts: Environment variable validation tests for required/optional vars, URL format checks, and error handling

All tests use mocked process.env and run without network access.

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@TomikeDS Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project.

@RUKAYAT-CODER
RUKAYAT-CODER merged commit 9e097e4 into rinafcode:main Jul 27, 2026
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants