Skip to content

[Task] Add unit test cases for useSubmitInputInternal hook #350

Description

@tjtanjin

Task Description:
Currently, we run unit tests using jest which can be found here.

However, the test cases are not yet comprehensive enough and work can be done to cover more grounds. Specifically for this issue, we hope to add test cases for the useSubmitInputInternal hook.

Deliverable(s):
New unit test cases that cover the testing of the useSubmitInputInternal hook.

Additional Context:

  • Hooks API can be found here
  • Existing unit test for hooks can be found here which may serve as a good source for reference.

⭐ If you find this project useful, please consider giving it a star—it really helps! Also, feel free to check out other repositories under the organization as well as a new vibe-engineers initiative for more opportunities to contribute! 😊

Activity

  1. Suvrat1629 commented on Oct 5, 2025

    @Suvrat1629
    Contributor

    Hey @tjtanjin I have opened a pr for this issue please take a look.
    Thank you.

  2. tjtanjin commented on Oct 5, 2025

    @tjtanjin
    MemberAuthor

    Hey @Suvrat1629, appreciate the PR! That said, if you're looking to take on subsequent issues, it's recommended to indicate your interest and be assigned the issue first before working on it. This helps avoid duplicate efforts which has happened in the past year. Hope you understand!

    Separately, your current PR is failing a unit test 🥹

  3. Suvrat1629 commented on Oct 5, 2025

    @Suvrat1629
    Contributor

    @tjtanjin Ok sorry about that I saw that no one had asked for an assignment and assumed this issue was open for work so I opened a pr next time around I will ask you for assignment.
    Thank you!

  4. Suvrat1629 commented on Oct 5, 2025

    @Suvrat1629
    Contributor

    Separately, your current PR is failing a unit test 🥹

    Yes the logs are pretty huge but I taking a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions