From 6190b27cb82319450526293eab2fd36e71242150 Mon Sep 17 00:00:00 2001 From: Marsell Kukuljevic Date: Fri, 21 May 2021 22:16:43 +0200 Subject: [PATCH] joyent/sdc-cloudapi#94 nics.test.js failing due to double callback --- test/nics.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/nics.test.js b/test/nics.test.js index cc545546..64be7f3f 100644 --- a/test/nics.test.js +++ b/test/nics.test.js @@ -617,8 +617,10 @@ function deleteTestNetwork(t, data, fixture, cb) { next(err); return; }); + } else { + next(); + return; } - next(); } ]}, cb); }