npm install --save-dev supertest
npm install --save-dev ts-jest
npm i @types/jest@29.4.0 (make sure to match with @types/jest dependency)
npm install --save @types/jest
npm install --save @types/supertest
Package.json file should look like below after all the above commands are run


==> Include the reporters section in jest.config.js as per below

Sample junit xml report will look like below

Adding a Jest HTML report
npm install jest-html-reporters --save-dev
==> Include the jest-html-reporters in jest.config.js as per below

Sample jest HTML report will look like below