Conversation
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.
A normalized pay array can contain a line with no amount. With an empty hourly line and a $100 fixed fee,
formatPayShortdisplayed$100 fixed +1even though the full pay text contained only$100 fixed.Count the same priced lines used to choose the first badge entry. Regression coverage includes empty lines before, between and after priced entries, a zero-dollar amount, and an entirely unpriced array.
Validation on Node 24.20.0:
npm run buildandnode --test "test/pay*.test.ts" test/salary-search.test.ts test/views.test.ts(45 passed, none skipped). The two new regression tests failed before the fix. This is an AI-assisted contribution; no database integration or full-suite result is claimed.