basisjs/yatra

assert.async() called in next code frame (setTimeout) hangs up test

lahmatiy opened this issue · 0 comments

This test is failing with timeout but should pass.

module.exports = {
  timeout: 1000,
  name: 'timeout test',
  test: function(done){
    setTimeout(function(){
      assert.async(function(){
        assert(true);
        done();
      });
    }, 50);
  }
};