Description: Always provide a description for tests
Bug-Debian: https://bugs.debian.org/892658
Forwarded: https://github.com/indutny/node-ip/pull/91
Last-Update: 2018-05-12
Index: github/test/api-test.js
===================================================================
--- github.orig/test/api-test.js
+++ github/test/api-test.js
@@ -360,7 +360,7 @@ describe('IP library for node.js', funct
 
     describe('private', function() {
       [ undefined, 'ipv4', 'ipv6' ].forEach(function(family) {
-        describe(family, function() {
+        describe(family || 'undefined', function() {
           it('should respond with a private ip', function() {
             assert.ok(ip.isPrivate(ip.address('private', family)));
           });
@@ -373,7 +373,7 @@ describe('IP library for node.js', funct
     Object.keys(interfaces).forEach(function(nic) {
       describe(nic, function() {
         [ undefined, 'ipv4' ].forEach(function(family) {
-          describe(family, function() {
+          describe(family || 'undefined', function() {
             it('should respond with an ipv4 address', function() {
               var addr = ip.address(nic, family);
               assert.ok(!addr || net.isIPv4(addr));
