mocha-directory
Allows you to organize your BDD mocha test suites as directoriesUsage
File tree:- tests/
- test.js
tests/Test Suite/test.js:it( 'should be a test', function() {
// Test
} );
index.js
require( 'mocha-directory' )();
Command:
mocha tests/
Output:
Test Suite
✓ should be a test
1 passing (9ms)