Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is more a question than an issue #11

Closed
damianof opened this issue May 15, 2015 · 2 comments
Closed

This is more a question than an issue #11

damianof opened this issue May 15, 2015 · 2 comments

Comments

@damianof
Copy link

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

@adamgruber
Copy link
Owner

I think this is a valid option and worth adding.

@damianof
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants