In this section, we're going to be testing our /mine endpoint, along with our /transaction and /blockchain endpoints, to make sure that everything works well together.
Before we test, it would be a good idea to take out the console.log statement in the proofOfWork method. This is because having it will just make your program work harder, and it will therefore take more time to calculate things.