Report for mocha that outputs Github Actions annotations
var mocha = new Mocha({
reporter: 'mocha-github-actions-reporter',
reporterOptions: {
// allows to map the filenames provided by mocha to paths in your repository
convertPath: ['/opt/', '']
}
});