You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I set the report title that shows on to of the html page?
Right now it seems that reportName is really the name of the html page that will be outputted. For example if i put reportName='index', it outputs index.html
but the title of the report on the actual page seem to always be the name of the root directory (I loko at your code and actually that is how you are getting the reportTitle)
Could you kindly update that to use reportTitle if specified with the reportOptions?
How do I set the report title that shows on to of the html page?
Right now it seems that reportName is really the name of the html page that will be outputted. For example if i put reportName='index', it outputs index.html
but the title of the report on the actual page seem to always be the name of the root directory (I loko at your code and actually that is how you are getting the reportTitle)
Could you kindly update that to use reportTitle if specified with the reportOptions?
That way we can do simply:
mocha({
reporter: 'mochawesome',
reporterOptions: {
reportDir: reportDir,
reportName: reportName,
reportTitle: reportTitle
}
}
Thank you so much for your greta work with this package!
Damiano
The text was updated successfully, but these errors were encountered: