nodeunit icon indicating copy to clipboard operation
nodeunit copied to clipboard

AssertionError doesn't output values

Open danielflippance opened this issue 9 years ago • 0 comments

When an assertion fails, nodeunit doesn't output the two values being compared, it just says 'AssertionError'

Test:

381:    test.equal('', undefined);

Output:

 AssertionError
    at Object.equal (/usr/local/lib/node_modules/nodeunit/lib/types.js:83:39)
    at Object.exports.update_normal_orderWithPurchaseOrdersReturns (/.../my-tests.js:381:7)

danielflippance avatar Jun 27 '16 23:06 danielflippance