Convert your mochawesome report to jest report
npm install -D mochawesome-to-jest
import convertToJestReport from 'mochawesome-to-jest'
// import the mochawesome result depending where you have specified the reportDir
import mochaTestResults from './reports/mochawesome.json'
// convert the mocha report to jest report
const results = convertToJestReport(mochaTestResults)
console.log(results)
Refer to this guide.
👤 Ludovic Dorival
- Github: @ludorival
Give a ⭐️ if this project helped you!
Copyright © 2021 Ludovic Dorival.
This project is BSD--3--Clause licensed.
This README was generated with ❤️ by readme-md-generator