mocha-parallel-tests
mocha-parallel-tests copied to clipboard
Incompatible with `mocha-cakes-2`
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?
I just realised it was already requested that you add support for the ui option by someone else.
This looks more like a global issue where a global variable is shared between the tests. Is there such thing in mocha-cake-2?