Skip to content

Conversation

@adityasinghz
Copy link

Enhance test cases by adding proper assertions to verify parsed results instead of just calling parse without validation:

  • nan.test.ts: Verify parsed NaN values using Number.isNaN()
  • complex.test.ts: Add comprehensive assertions to verify all parsed fields match the input structure
  • function.test.ts: Verify function parsing returns correct values and verify params/returnType getter parse results
  • util.ts: Improve error message in assertNever for better debugging

Enhance test cases by adding proper assertions to verify parsed results
instead of just calling parse without validation:

- nan.test.ts: Verify parsed NaN values using Number.isNaN()
- complex.test.ts: Add comprehensive assertions to verify all parsed
  fields match the input structure
- function.test.ts: Verify function parsing returns correct values and
  verify params/returnType getter parse results
- util.ts: Improve error message in assertNever for better debugging
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.

1 participant