Closed watilde closed 7 years ago
@zkat Hello! I just added a test for it now :)
@watilde thanks! Could you make sure data
and response
are part of the tests, too? This was helpful, thank you ❤️
Ah you're right, that should be checked in tests :)
I've added the following two lines for it!
+ t.same(data, JSON.stringify(wanted))
+ t.same(res.body.toString(), JSON.stringify(wanted))
Released as npm-registry-client@7.5.0
Great! Arigato<3
いいえいいえ。こちらこそ、ワチくん。^___^
from https://github.com/npm/npm/issues/15306. To get a statusCode in
npm/lib/ping.js
, we need to pass them even error exists.