Skip to content

Conversation

sukdev24
Copy link

This contribution adds unit tests for the utils.compileETag() function in test/utils.js.

The tests verify behavior for:

  • true, false, "strong", "weak" input values
  • Invalid input types (array, object)
  • Unrecognized strings

These tests improve coverage and support new contributors reviewing ETag logic.

Copy link
Member

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

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

@sukdev24 thanks for helping the project! Can you run npm run lint -- --fix to solve the linting issues and commit the changes?

@sukdev24
Copy link
Author

sukdev24 commented May 27, 2025 via email

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