Infosys interview question

Write jest test cases for an input form