Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

build

TJ Holowaychuk1a37c9b9cf81
diff --git a/mocha.js b/mocha.js
index e8a1a309..9205fcf0 100644
--- a/mocha.js
+++ b/mocha.js
@@ -560,7 +560,7 @@ module.exports = function(suite){
* and/or tests.
*/
- context.describe = function(title, fn){
+ context.describe = context.context = function(title, fn){
var suite = Suite.create(suites[0], title);
suites.unshift(suite);
fn();