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

Display and logging of "before" and "after" hooks. #34

Open
tvsatish9 opened this issue Jul 7, 2020 · 0 comments
Open

Display and logging of "before" and "after" hooks. #34

tvsatish9 opened this issue Jul 7, 2020 · 0 comments

Comments

@tvsatish9
Copy link

Currently when i run any mocha script successfully, i am only able to view only the "it" hook of the mocha.
Is there any provision/parameter which needs to be passed in .mocharc.js file to make the "before" and "after" hooks also visible in the report, irrespective of those hooks passing or failing?

Secondly, using, require("mochawesome-screenshots/logReport");
I am able to send log to "it" hook, when i am trying to send any custom log for "before" or "after", it does not get displayed in the report.

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

No branches or pull requests

1 participant