☕️ Classic, reliable, trusted test framework for Node.js and the browser
Renamed tearDown to teardown. Closes #49
Tj Holowaychuk5f283d113334
diff --git a/lib/interfaces/tdd.js b/lib/interfaces/tdd.jsindex e3ae6eb3..a3f35c4b 100644--- a/lib/interfaces/tdd.js+++ b/lib/interfaces/tdd.js@@ -40,7 +40,7 @@ module.exports = function(suite){* Execute before each test case.*/- context.tearDown = function(fn){+ context.teardown = function(fn){suites[0].afterEach(fn);};