Skip to content
This repository

Test name is lost when asserting from inside a callback #150

pselden opened this Issue October 31, 2011 · 2 comments

2 participants

Paul Selden Konstantin Käfer
Paul Selden

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

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

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

This should be solved in the 0.9.0 release.

Paul Selden

I'm running the latest version (which npm claims to be 0.9.2???). Am I missing something here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.