Skip to content

test: add user payload text coverage#5

Open
MFA-G wants to merge 2 commits into
twilic:mainfrom
MFA-G:test-user-payload-text
Open

test: add user payload text coverage#5
MFA-G wants to merge 2 commits into
twilic:mainfrom
MFA-G:test-user-payload-text

Conversation

@MFA-G

@MFA-G MFA-G commented Jul 4, 2026

Copy link
Copy Markdown

Summary

  • Add focused tests for user payload parsing and formatting.
  • Cover root JSON objects, root arrays, JSONL with blank lines, empty input, invalid JSONL line numbers, and pretty-print output.
  • Use Vitest for the test runner as requested in review feedback.

Related Issue

Closes #2

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Chore / dependency update

Testing

  • pnpm test
  • pnpm lint

Checklist

  • Tests added or updated (optional)
  • Documentation updated (if applicable)
  • No breaking changes (or breaking changes are documented above)

@minagishl minagishl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MFA-G
Please change the tests to use Vitest.
Also, please follow the template for the PR message.

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.

test: add unit tests for userPayloadText

2 participants