mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(integration): fixed integration tests
This commit is contained in:
+6
-10
@@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user