We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefc9ac commit a24ec96Copy full SHA for a24ec96
1 file changed
index.js
@@ -243,11 +243,11 @@ class NodeTestHelper extends EventEmitter {
243
} else {
244
testNode(red);
245
}
246
- redNodes.loadFlows()
+ return redNodes.loadFlows()
247
.then(() => {
248
redNodes.startFlows();
249
should.deepEqual(testFlow, redNodes.getFlows().flows);
250
- cb();
+ if(cb) cb();
251
});
252
253
0 commit comments