fix: requestPackage includes fetchingRawManifest

This commit is contained in:
Zoltan Kochan
2018-05-30 01:12:51 +03:00
parent 778075db51
commit 4b8058d3c9
3 changed files with 8 additions and 5 deletions

View File

@@ -63,6 +63,7 @@ test('server', async t => {
}
)
t.equal((await response['fetchingRawManifest']).name, 'is-positive', 'responded with fetchingRawManifest')
t.equal(response.body.id, 'registry.npmjs.org/is-positive/1.0.0', 'responded with correct ID')
t.equal(response.body['manifest'].name, 'is-positive', 'responded with correct name in manifest')