Skip to content

Commit

Permalink
Add mocha to mocha environment
Browse files Browse the repository at this point in the history
Mocha exposes the global name `mocha` too for configuration etc. This adds that to the `mocha` environment.
  • Loading branch information
BYK committed Jun 3, 2015
1 parent e6611af commit 7aa3e23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,8 @@ exports.yui = {
};

exports.mocha = {
// Global (for config etc.)
mocha : false,
// BDD
describe : false,
xdescribe : false,
Expand Down

0 comments on commit 7aa3e23

Please sign in to comment.