caolan / caolan/nodeunit

AssertionError doesn't output values

Open
#316 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.