fork download
  1. function getData(testName, reportPaths, callback) {
  2. var testData = [];
  3. var i = 0;
  4. reportPaths.forEach((report) => {
  5. getTestByName(report, testName, function(testInfo) {
  6. if (!testData[report])
  7. testData[report] = [];
  8. testData[report].push(testInfo);
  9. i++;
  10. if (i === reportPaths.length){
  11. callback(testData);
  12. }
  13. });
  14. });
  15. }
Success #stdin #stdout 0.01s 30104KB
stdin
Standard input is empty
stdout
Standard output is empty