cara menghapus input di pustaka pengujian

const input = getByTestId('input');

// clearing the input
await userEvent.clear(input);
// focusing out of the input (if required)
fireEvent.focusOut(input);
Perfect Pigeon