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

v1.18.1 broke mocha html test runner #1162

Closed
bjornstar opened this issue Mar 18, 2014 · 4 comments
Closed

v1.18.1 broke mocha html test runner #1162

bjornstar opened this issue Mar 18, 2014 · 4 comments

Comments

@bjornstar
Copy link
Contributor

Everything was fine until I updated to v1.18.1 and now my tests fail:

Uncaught TypeError: Object #<Object> has no method 'appendChild' visionmedia-mocha/mocha.js:2642

I'm sticking to to v1.18.0 until this gets fixed.

@travisjeffery
Copy link
Contributor

show me code that reproduces the issue

@travisjeffery
Copy link
Contributor

no change in 1.18.1 should cause a problem that wasn't in 1.18.0 or earlier

@bjornstar
Copy link
Contributor Author

This code taken from http://visionmedia.github.io/mocha/

<html>
<head>
  <meta charset="utf-8">
  <title>Mocha Tests</title>
  <link rel="stylesheet" href="mocha.css" />
</head>
<body>
  <div id="mocha"></div>
  <script src="mocha.js"></script>
  <script>mocha.setup('bdd')</script>

  <script>
    mocha.checkLeaks();
    mocha.globals(['jQuery']);
    mocha.run();
  </script>
</body>
</html>

@travisjeffery
Copy link
Contributor

ya i found the issue, fix will be up shortly

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