Executes test scripts in the specified dirs.
npm install test-executor


Executes test scripts and directories of test scripts. It's based on Async Tree Pattern.
npm i test-executor``js
const { ExecutedTests } = require('test-executor')
new ExecutedTests(
'./test/test.js', './test/dir1', './test/dir2'
).call() // or just new ExecutedTests('./test').call()
`
Output will be smth like this (example of case when one of the tests fails):
!gaa1
Build
npm run buildRun example
npm run example`