I am trying to save some tests results (using tape http://ift.tt/1SuDXtN) in nodejs into a javascript object, like a map, list or just a custom object. I was looking around test.createStream({ objectMode: true }) but I can seem to find a way on where to integrate the tests and gather the assert results. Also, I am noob regarding tape or javascipt :) Thanks
test.createStream({ objectMode: true }).on('data', function (row) {
console.log(JSON.stringify(row))
});
Aucun commentaire:
Enregistrer un commentaire