Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

409 B
Raw Blame
'use strict';

// The suite below should result in an additional error, but does
// not. Uncomment once this bug is resolved.

// describe('suite', function() {
//   beforeEach(function(done) {
//     done();
//     done();
//   });

//   it('test', function() {});
// });

it('should fail in an async test case', function (done) {
  process.nextTick(function () {
    done();
    setTimeout(done);
  });
});