No need to log the exception stack when it's just a test table difference - this should be a clean error.
This commit is contained in:
parent
5b24758742
commit
36c944ef53
@ -50,5 +50,5 @@ module.exports = function (expected, actual) {
|
||||
s.push(rowString);
|
||||
});
|
||||
|
||||
return s.join('\n') + '\nTODO this is a temp workaround waiting for https://github.com/cucumber/cucumber-js/issues/534';
|
||||
return s.join('\n');
|
||||
};
|
||||
|
@ -248,7 +248,7 @@ module.exports = function () {
|
||||
q.awaitAll((err, actual) => {
|
||||
if (err) return callback(err);
|
||||
let diff = tableDiff(table, actual);
|
||||
if (diff) callback(new Error(diff));
|
||||
if (diff) callback(diff);
|
||||
else callback();
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user