Skip to content

Compare array items in TypeScript test helper - #871

Merged
mristin merged 1 commit into
mainfrom
mristin/Compare-array-items-in-TypeScript-tests
Oct 30, 2026
Merged

mristin merged 1 commit into
mainfrom
mristin/Compare-array-items-in-TypeScript-tests

Conversation

@mristin

@mristin mristin commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

By mistake, checkJsonablesEqual in the generated TypeScript tests compared each array item to itself (const gotItem = expectedResult.value;), so the round-trip tests only checked the length of arrays. We compare it now to gotResult.value.

By mistake, ``checkJsonablesEqual`` in the generated TypeScript tests
compared each array item to itself (``const gotItem =
expectedResult.value;``), so the round-trip tests only checked
the length of arrays. We compare it now to ``gotResult.value``.
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 41060072287

Coverage remained the same at 90.233%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 51429
Covered Lines: 46406
Line Coverage: 90.23%
Coverage Strength: 2.71 hits per line

💛 - Coveralls

@mristin
mristin merged commit 38bec4a into main Oct 30, 2026
5 checks passed
@mristin
mristin deleted the mristin/Compare-array-items-in-TypeScript-tests branch October 30, 2026 13:29
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.

2 participants