Control: tags -1 + patch

The attached patch fixes the failing test, as per upstream's commit:

https://github.com/unshiftio/ultron/commit/dd787a2c3d3caaa3327918d1ecdabe56ecc3e0b1
--- a/debian/tests/mytest1.js
+++ b/debian/tests/mytest1.js
@@ -195,7 +195,7 @@
       // In Node.js 8+ `EventEmitter#listeners()` returns the original listener
       // also for once listeners.
       //
-      assert.equal(ee.listeners('foo')[0].listener, foo);
+      assert.equal(actual.listener || actual, foo);
     });
 
     it('removes all assigned events if called without args', function () {

Reply via email to