-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
stream.clearLine is not a function #1826
Comments
Could you share an AVA project in which this occurs? Or is it any plain |
Yep! It's a basic scenario test (all my AVA scenarios regardless of test will fail with beta5 though). |
Ah! It's failing when called through your test suite, right? AVA must be assuming it has a TTY stream, while it doesn't. It's doing that check on A workaround is to specify |
Thanks, the |
Same with beta.5.1 on Windows 10 x64:
|
@sylvainpolletvillard for now you can use The problem seems to be with this line: Line 84 in a4f741c
This disables ora's TTY detection, which is intentional. However it doesn't look like AVA is doing any detection on its own! This is an oversight on my part; I was planning further changes so may have forgotten to adjust this. Changing that line to If anybody wants to raise a PR for that change that'd be appreciated. I've been traveling recently and have more travel coming up soon. |
Actually the mini reporter shouldn't be used if |
When upgrading to the beta5 I started hitting this error. It looks like it's erroring out in an Ora dep but may be related to the commit (linked in the previous sentence).
I'm on MacOS 10.13.4 using iTerm 3 with oh-my-zsh.
The text was updated successfully, but these errors were encountered: