Skip to content

armgit / mocha

Public Imported from GitHub
0

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

158 B
Raw Blame
'use strict';

it('should fail in a test-case', function (done) {
  process.nextTick(function () {
    done();
    done(new Error('second error'));
  });
});