visionmedia/expresso — Issue #150: Test name is lost when asserting from inside a callback
Author: pselden4
Created: 2011-10-31 15:57:31+00:00
State: open

Perhaps it's not possible to preserve this information, but it would be helpful to have:

```javascript
exports['Timeout test'] = function(beforeExit, assert){
setTimeout(function(){
assert.ok(false);
}, 100);
};
```
$ expresso ./test

uncaught undefined: AssertionError: true == false
at Object._onTimeout (/test/test.test.js:3:10)
at Timer.callback (timers.js:83:39)