mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Tidy up when usage in Flow and Node
This commit is contained in:
@@ -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) {
|
||||
|
@@ -346,7 +346,7 @@ describe('Flow', function() {
|
||||
stoppedNodes.should.have.a.property("2");
|
||||
stoppedNodes.should.have.a.property("3");
|
||||
done();
|
||||
});
|
||||
}).catch(done);
|
||||
});
|
||||
|
||||
it("stops specified nodes",function(done) {
|
||||
|
Reference in New Issue
Block a user