Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 697c0a7

Browse files
committed
fix deprecate tests on older nodes
1 parent 0727302 commit 697c0a7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/deprecate.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ test('deprecate a package', function (t) {
150150
t.ifError(er)
151151
t.ok(data.deprecated, 'was deprecated')
152152

153-
server.close()
154153
t.end()
155154
}
156155
)
@@ -209,3 +208,9 @@ test('deprecate a scoped package', function (t) {
209208
}
210209
)
211210
})
211+
212+
test('cleanup', function (t) {
213+
server.close()
214+
t.ok(true)
215+
t.end()
216+
})

0 commit comments

Comments
 (0)