Skip to content

XUnit reporter TypeError: Cannot read property 'reporterOptions' of undefined #2584

Closed

Description

When running testee with the XUnit reporter (no matter command-line or grunt task), the following error occurs:

testee test/unit/unitTests.qunit.html --reporter XUnit
//node_modules/testee/node_modules/mocha/lib/reporters/xunit.js:44
if (options.reporterOptions && options.reporterOptions.output) {
^

TypeError: Cannot read property 'reporterOptions' of undefined
at new XUnit (//node_modules/testee/node_modules/mocha/lib/reporters/xunit.js:44:14)
...

reference https://github.com/bitovi/testee/issues/93[https://github.com/bitovi/testee/issues/93](url)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions