fix(integration): fixed integration tests

This commit is contained in:
Chris Troutner
2020-06-20 11:54:28 -07:00
parent 552cb1d80d
commit 9e743db57b
+6 -10
View File
@@ -147,16 +147,12 @@ describe('#Mining', () => {
const result = await uut.getMiningInfo(req, res)
// console.log(`result: ${util.inspect(result)}`)
assert.hasAllKeys(result, [
'blocks',
'currentblocksize',
'currentblocktx',
'difficulty',
'warnings',
'networkhashps',
'pooledtx',
'chain'
])
assert.property(result, 'blocks')
assert.property(result, 'difficulty')
assert.property(result, 'networkhashps')
assert.property(result, 'pooledtx')
assert.property(result, 'chain')
assert.property(result, 'warnings')
})
})