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
Even though I mentioned reporterOptions in .mocharc.js file. Mochawesome is not saving with the new file name. By default it's saving into Folder - mochawesome-report\mochawesome.html
Below snippet is my .mocharc.js file:
module.exports = {
reporter: "mochawesome",
reporterOptions: {
reportFilename: "[status]_[datetime]-[sample]-report",
timestamp: "longDate",
},
};
Packagae.json:
{
"scripts": {
"test": "mocha --timeout 800000 --config= ./.mocharc.js ./test/mocha.spec.js"
Even though I mentioned reporterOptions in .mocharc.js file. Mochawesome is not saving with the new file name. By default it's saving into Folder - mochawesome-report\mochawesome.html
Below snippet is my .mocharc.js file:
module.exports = {
reporter: "mochawesome",
reporterOptions: {
reportFilename: "[status]_[datetime]-[sample]-report",
timestamp: "longDate",
},
};
Packagae.json:
{
"scripts": {
"test": "mocha --timeout 800000 --config= ./.mocharc.js ./test/mocha.spec.js"
},
"dependencies": {
"mocha": "^10.0.0",
},
"devDependencies": {
"mochawesome": "^7.1.3"
}
}
Please advise. Thanks in advance
The text was updated successfully, but these errors were encountered: