I wish to run jest tests on a remote machine and save it, and then pass the answer to my local machine using an API, is there a way to save the test results to a variable?