I have written unit test using jest version 26.0.0 with react-testing-library and node version 14.2.0. Below is my React functional component which
26.0.0
14.2.0