The resulting report file will be named pass_February_23_2022-sample-report.html
Note: The [name] replacement only occurs when mocha is running one spec file per process and outputting a separate report for each spec OR when using the CLI. When this is not the case, the "[name]" string will instead be replaced by the default report filename ("mochawesome").
Adds support for the following token replacements to the reportFilename option:
timestamp
option.For example, given the spec
cypress/integration/sample.spec.js
and the following config:The resulting report file will be named
pass_February_23_2022-sample-report.html
Note: The
[name]
replacement only occurs when mocha is running one spec file per process and outputting a separate report for each spec OR when using the CLI. When this is not the case, the "[name]" string will instead be replaced by the default report filename ("mochawesome").185
https://github.com/adamgruber/mochawesome/issues/293 https://github.com/adamgruber/mochawesome/issues/345