test(last-release): adapt registry-mock to how the registry actually behaves
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = nock('http://registry.npmjs.org')
|
||||
.reply(200, availableModule)
|
||||
.get('/untagged')
|
||||
.reply(200, availableModule)
|
||||
.get('/@scoped/available')
|
||||
.get('/@scoped%2Favailable')
|
||||
.reply(200, availableModule)
|
||||
.get('/unavailable')
|
||||
.reply(404, {})
|
||||
|
||||
Reference in New Issue
Block a user