michaelleeallen / mocha-junit-reporter

A JUnit XML reporter for mocha.
MIT License
144 stars 153 forks source link

Outdated Documentation #185

Open swarnadeepsaha opened 1 year ago

swarnadeepsaha commented 1 year ago
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'
    ]