mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-04-25 14:12:17 +00:00
it works
This commit is contained in:
parent
c24e285275
commit
987474b014
@ -71,9 +71,14 @@ module.exports.all = function (test, common) {
|
|||||||
|
|
||||||
recordStore.put('bananas', mdagObj_record_signature, function (err) {
|
recordStore.put('bananas', mdagObj_record_signature, function (err) {
|
||||||
t.ifError(err, 'Should not throw')
|
t.ifError(err, 'Should not throw')
|
||||||
|
recordStore.get('bananas', function (err, records) {
|
||||||
|
t.ifError(err, 'Should not throw')
|
||||||
|
t.equal(records.length, 1)
|
||||||
t.pass('record was stored successfully')
|
t.pass('record was stored successfully')
|
||||||
t.end()
|
t.end()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user