Reactjs – How to test input form that sends chat on Enter with React Testing Library?
I have the following Chat box that sends the chat when someone clicks on Enter. This is working as expected in normal life but RTL is disagreeing. import React, { useState } from "react"; export default function Test() { const…