@5minds/node-red-contrib-processcube-tools 1.0.1-feature-7ab4ae-mff3roeh → 1.0.1-feature-61e7c9-mff5coiu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -240,15 +240,13 @@ describe('Email Receiver Node - Unit Tests with Helpers', function() {
|
|
|
240
240
|
const mockRED = createMockNodeRED({
|
|
241
241
|
onHandler: function(event, callback) {
|
|
242
242
|
if (event === 'input') {
|
|
243
|
-
// Store the callback on the node instance
|
|
244
243
|
this.inputCallback = callback;
|
|
245
244
|
}
|
|
246
245
|
},
|
|
247
246
|
statusHandler: function(status) {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
done();
|
|
247
|
+
// ASSERT: Check for 'connected' status and then complete the test
|
|
248
|
+
if (status.fill === 'green' && status.text === 'connected') {
|
|
249
|
+
done();
|
|
252
250
|
}
|
|
253
251
|
}
|
|
254
252
|
});
|