Tidy up when usage in Flow and Node

This commit is contained in:
Nick O'Leary
2019-01-17 13:18:26 +00:00
parent 901b32297e
commit 490903ca25
5 changed files with 93 additions and 102 deletions

View File

@@ -55,8 +55,7 @@ describe('Node', function() {
n.on('close',function() {
done();
});
var p = n.close();
should.not.exist(p);
n.close();
});
it('returns a promise when provided a callback with a done parameter',function(testdone) {