tjtanjin / react-chatbotify

A modern React library for creating flexible and extensible chatbots.
https://react-chatbotify.com
MIT License
197 stars 104 forks source link

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

Open tjtanjin opened 2 weeks ago

tjtanjin commented 2 weeks ago

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:

anjumnnit commented 1 week ago

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.

I can try this. Please assign.

tjtanjin commented 1 week ago

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.

I can try this. Please assign.

Go for it!

anjumnnit commented 2 days ago

I worked on it but still facing some issue. you can assign it to someone else thankyou.