Mock starting repo to run JavaScript tests in the editor using NodeJS