Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upglobal whitelist? #101
Comments
This comment has been minimized.
This comment has been minimized.
|
Add this to the top of your file: /* global describe, it */ On Wednesday, April 1, 2015, Zeke Sikelianos notifications@github.com
Simple & Secure Bitcoin Wallet: https://www.coinbolt.com |
This comment has been minimized.
This comment has been minimized.
|
|
zeke
closed this
Apr 2, 2015
This comment has been minimized.
This comment has been minimized.
|
For those who stumble upon this issue, @jprichardson's suggestion is a |
This comment has been minimized.
This comment has been minimized.
gabeio
commented
Jun 20, 2016
|
|
This comment has been minimized.
This comment has been minimized.
ifraixedes
commented
Jun 21, 2016
|
For mocha globals specifics , I use |
zeke commentedApr 2, 2015
I have some mocha test files I want to
standardize, but I'm getting errors aboutdescribe,it, etc being undefined.I know this is one of the things some people don't like about mocha, but I'm a fan of this design choice, as it reduces boilerplate code in tests. Is there a way to whitelist globals in package.json or something?