Trying to run each it function in separate lambda function: Typescript Compress code more Trying with mocha, possible point of integration is Third-party-UI: https://github.com/mochajs/mocha/wiki/Third-party-UIs https://github.com/mochajs/mocha/blob/master/lib/interfaces/common.js