Goal is if stop Cypress runner of any test failed, and these Mocha tests are written in TypeScript. The following Mocha afterEach() has two issues...
afterEach()
<