Repository navigation
test: add unit tests for issues #673, #674, #675, #676 - #1254
Merged
Merged
Conversation
…fe#675, vjuliaife#676 - vjuliaife#676: Unit test stroopsToXlm formatting - Verifies correct zero-padding to 4 decimals - Tests string, bigint, and number inputs - Validates whole numbers, tiny fractions, and edge cases - vjuliaife#675: Unit test Nav network badge - Tests mainnet vs testnet badge rendering - Verifies correct colors and text based on env var - Tests fallback behavior for unrecognized values - Validates badge is independent of auth state - vjuliaife#674: Unit test Nav logout button - Verifies clearSession() and router.push('/') are called - Tests correct execution order (session cleared before redirect) - Validates button only renders for authenticated users - vjuliaife#673: Unit test Nav dashboard links per user role - Tests importer role shows 'Bond dashboard' -> /app - Tests surety_admin role shows 'Surety admin' -> /surety - Verifies logo href changes based on role - Validates email rendering for both roles
|
@greyforreal 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! 🚀 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #676
Unit test stroopsToXlm formatting
Closes #675
Unit test Nav network badge
Closes #674
Unit test Nav logout button
Closes #673
Unit test Nav dashboard links per user role