Functional Testing of React JS apps