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

Incompatable with mocha 3.x #18

Open
charlesverge opened this issue Jul 26, 2017 · 0 comments
Open

Incompatable with mocha 3.x #18

charlesverge opened this issue Jul 26, 2017 · 0 comments

Comments

@charlesverge
Copy link

When executing cordova-test android tests/mocha/ global install of mocha was needed as the 2.5.3 appear to of been ignored.
npm install -g [email protected]

With a newer version of mocha the following error appeared

  1. Test example tests Checking button action should click a button:
    Error: Resolution method is overspecified. Specify a callback or return a Promise; not both.
    at /usr/local/lib/node_modules/wd/node_modules/q/q.js:2027:17
    at runSingle (/usr/local/lib/node_modules/wd/node_modules/q/q.js:137:13)
    at flush (/usr/local/lib/node_modules/wd/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
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

1 participant