Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with mocha-cakes-2 #268

Open
nick-kompas-cko opened this issue Oct 17, 2019 · 2 comments
Open

Incompatible with mocha-cakes-2 #268

nick-kompas-cko opened this issue Oct 17, 2019 · 2 comments

Comments

@nick-kompas-cko
Copy link

When initializing a new Mocha with mocha-cakes-2, the tests are unable to run.

var mocha = new Mocha({
    grep: scopeGrep,
    timeout: 60000,
    ui: 'mocha-cakes-2',
    reporter: mochaReporter,
    reporterOptions: {
        enableCode: false,
        autoOpen: false
    }
});

Error: ReferenceError: feature is not defined

I expected this to work is mocha-parallel-tests appears to be a wrapper of Mocha.
Any chance of adding support for this?

@nick-kompas-cko
Copy link
Author

I just realised it was already requested that you add support for the ui option by someone else.

@1999
Copy link
Collaborator

1999 commented Oct 18, 2019

This looks more like a global issue where a global variable is shared between the tests. Is there such thing in mocha-cake-2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants