-
-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DEBUG=1 yarn test does not work anymore #559
Comments
I don't think the issue is with the name of the variable, I think it's a bash difficulty. I see this bit in the command for I think the following may work correctly in place of the bit above: |
You're right, I just opened a PR with the fix. Thanks @dsagal! |
If you try to run this command:
$ DEBUG=1 yarn test
You get this error:
The bisection points to this commit: bcbf57d
And it sounds like it relates to this bug: mochajs/mocha#3861 (TL;DR : process.argv should be a string).
It took me a while to understand that changing
DEBUG=1
toDEBUG=whatever
does the trick. It sounds like the DEBUG var is passed as some argument to mocha.What do you think of renaming the DEBUG variable used to run the tests to something different to avoid the confusion? I can work on this
The text was updated successfully, but these errors were encountered: