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

example advanced error #51

Closed
chunpu opened this issue Oct 15, 2014 · 2 comments
Closed

example advanced error #51

chunpu opened this issue Oct 15, 2014 · 2 comments

Comments

@chunpu
Copy link

chunpu commented Oct 15, 2014

npm: [email protected]

duo-test/examples/advanced $ duo-test phantomjs

TypeError: 'undefined' is not a function (evaluating 'mocha.setup({ ui: 'bdd', timeout: 100 })')

when I try custom index.html

and examples/simple is totally ok

debug log

    duo-test emit fatal {"message":"TypeError: 'undefined' is not a function (evaluating 'mocha.setup({ ui: 'bdd', timeout: 100 })')","url":"http://localhost:56865/test/?__id__=phantomjs","lineno":11} +2s
TypeError: 'undefined' is not a function (evaluating 'mocha.setup({ ui: 'bdd', timeout: 100 })')
  url: http://localhost:56865/test/?__id__=phantomjs
  lineno: 11
@yields
Copy link
Contributor

yields commented Oct 15, 2014

i'm guessing rawgit changed their certs version, can you try replacing https to http in index.html ?

@chunpu
Copy link
Author

chunpu commented Oct 15, 2014

it works! Thanks

@chunpu chunpu closed this as completed Oct 15, 2014
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