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

Useless parameter for filenameFormatter #29

Open
dmkukh opened this issue Jul 30, 2018 · 0 comments
Open

Useless parameter for filenameFormatter #29

dmkukh opened this issue Jul 30, 2018 · 0 comments

Comments

@dmkukh
Copy link

dmkukh commented Jul 30, 2018

Seems like there's a problem with a parameter for filenameFormatter function which you can set using the configuration. So in index.js line 128 you have this call - nextPath = filenameFormatter(nextPath, result); where nextPath is a testname which you further use as an index to an array of test files declared in line 201 var filesForDescriptions. Could you please change the 128 line to nextPath = filenameFormatter(filesForDescriptions[nextPath], result) so formatter can access and affect the path to make the function useful, because accessing the test name in FILENAME formatter doesn't let me format the path 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