Running tests in the browser?

Total curiosity question, but what magic is there behind the scenes to allow the status page to run and report on Jest tests? I know it’s outside the scope of this course - and contained in the build folder as minified code, but … is there an example I can refer to?

I’d love to figure out how to run Jest tests within the browser - and having some kind of confirmation code is icing on the cake

Each ticket already has a validation code on the react app possibly in state somewhere and when the tests have been triggered and returned successfully, that code is shown back to you else an error message.

I would also assume that app makes use of redux for retrieving the proper codes when the test is successful