michaelleeallen/mocha-junit-reporter

Outdated Documentation

swarnadeepsaha opened this issue · 0 comments

var mocha = new Mocha({
    reporter: 'mocha-junit-reporter',
    reporterOptions: {
        mochaFile: './path_to_your/file.xml'
    }
});
reporterOptions: {
        mochaFile: './path_to_your/file.xml'
    }

doesn't work instead, it should be

reporterOptions: [
        'mochaFile=./path_to_your/file.xml'
    ]