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

html-runner crashing because of missing process.stdout shim #1789

Closed
sunesimonsen opened this issue Jul 6, 2015 · 0 comments · Fixed by #1788
Closed

html-runner crashing because of missing process.stdout shim #1789

sunesimonsen opened this issue Jul 6, 2015 · 0 comments · Fixed by #1788

Comments

@sunesimonsen
Copy link
Contributor

When running mocha in the browser you get a crash in the following code:

if (isatty) {
  exports.window.width = process.stdout.getWindowSize
    ? process.stdout.getWindowSize(1)[0]
    : tty.getWindowSize()[1];
}

PR #1788 fixes that.

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

Successfully merging a pull request may close this issue.

2 participants