mirror of
https://github.com/harish2704/simple-mocha.git
synced 2026-09-10 06:21:08 +00:00
more tests for it block
This commit is contained in:
@@ -38,7 +38,14 @@ describe( 'Simple before block + it s ', function(){
|
|||||||
|
|
||||||
it( 'child describeBlock should parse it blocks', function(){
|
it( 'child describeBlock should parse it blocks', function(){
|
||||||
assert.equal( firsDescribeBlock.its.length, 2 );
|
assert.equal( firsDescribeBlock.its.length, 2 );
|
||||||
|
firsDescribeBlock.its.forEach( function( itBlk ){
|
||||||
|
assert( itBlk );
|
||||||
|
assert( itBlk.description );
|
||||||
|
assert( itBlk.fn );
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user