From d422ecd13d2604f2e925918c46db9c9cf3a65099 Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Fri, 1 Apr 2016 01:06:18 +0530 Subject: [PATCH] Test for parsing 'it' --- test/simple-mocha.spec.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/simple-mocha.spec.js b/test/simple-mocha.spec.js index 7196831..04f9b1b 100644 --- a/test/simple-mocha.spec.js +++ b/test/simple-mocha.spec.js @@ -34,5 +34,11 @@ describe( 'Simple before block + it s ', function(){ assert( firsDescribeBlock.beforeFn ); }); + + + it( 'child describeBlock should parse it blocks', function(){ + assert.equal( firsDescribeBlock.its.length, 2 ); + }); + }); })