Open
Description
Hi
I try to get an junit report as wll with a browserstack run.
My package.json section looks like the following:
"scripts": {
"smoke-tests": "mocha customers/**/smoke.spec.js",
"smoke-tests-browserstack": "browserstack-node-sdk mocha customers/**/smoke.spec.js"
},
And I have the following .mocharc.yml file
# This is an example Mocha config containing every Mocha option plus others.
# Full reference https://github.com/mochajs/mocha/blob/master/example/config/.mocharc.yml
reporter: 'mocha-junit-reporter'
reporter-option: # array, not object
- 'mochaFile=./junit.xml'
If I run the command npm run smoke-tests
I get a junit.xml in my root folder of my project
But if I'm running npm run smoke-tests-browserstack
then I will not get a junit report
What I need to change that it will also work with the browserstack-node-sdk wrapper?
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels