Fixes #6282: Run front-end tests in pre-push hook, only if changes are made in JS files. (#6289)
Fixes #6282: Run front-end tests in pre-push hook, only if changes are made in JS files. (#6289)

* First

* First

* Second

* Third

* Fourth

* Testing pre_push_hook

* Added pre_push_hook feature

* Added pre_push_hook feature

* Added pre_push_hook feature

* Fixed linting

* Fixed linting

* Fixed linting

* Removed Excluded

* Removed Excluded

* Removed Excluded

* Changed func name

* Changed func name

* Changes Done

* Added Args & Return

* Changed Docstring

kevinlee12/oppia,kevinlee12/oppia,oppia/oppia,oppia/oppia,souravbadami/oppia,souravbadami/oppia,kevinlee12/oppia,brianrodri/oppia,kevinlee12/oppia,brianrodri/oppia,brianrodri/oppia,brianrodri/oppia,prasanna08/oppia,prasanna08/oppia,oppia/oppia,prasanna08/oppia,prasanna08/oppia,oppia/oppia,souravbadami/oppia,brianrodri/oppia,oppia/oppia,souravbadami/oppia,prasanna08/oppia,souravbadami/oppia,kevinlee12/oppia