All files / src/functions initiate.workers.ts

80% Statements 4/5
0% Branches 0/1
0% Functions 0/1
80% Lines 4/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10    1x 1x   1x     1x  
'use strict';
 
import executeWorker from './execute/execute.worker';
import executeProcessesInFolder from './execute/execute.processes.in.folder';
 
const initiateWorkers = (root: string, folder: string = 'workers'): void => {
	executeProcessesInFolder(root, folder, executeWorker);
};
export default initiateWorkers;