Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test case for header values that are arrays in headersToRecords function #26

Open
coderabbitai bot opened this issue Jul 26, 2024 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 26, 2024

Description

The headersToRecords function in apps/server/src/headersToRecords.ts currently lacks test coverage for the scenario where header values are arrays. This issue aims to add a test case to cover this scenario.

Relevant Files

  • apps/server/src/headersToRecords.ts
  • apps/server/test/headersToRecords.test.ts

References

Steps

  1. Add a test case in apps/server/test/headersToRecords.test.ts to handle header values that are arrays.
  2. Ensure all code paths are covered by tests.

Assignee

@drazisil

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

No branches or pull requests

1 participant