So löschen Sie eine Eingabe in der Testbibliothek
const input = getByTestId('input');
// clearing the input
await userEvent.clear(input);
// focusing out of the input (if required)
fireEvent.focusOut(input);
Perfect Pigeon