mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Fix test. Revert test line.
This commit is contained in:
parent
104db41421
commit
eb71603ec7
@ -146,9 +146,6 @@ class OrbitDB {
|
||||
}
|
||||
|
||||
_deleteChannel(channel, password) {
|
||||
if(!this._ipfs)
|
||||
throw new Error("IPFS daemon not running");
|
||||
|
||||
this._store[channel].clear();
|
||||
return true;
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ describe('Orbit Client', function() {
|
||||
const iter = db.iterator();
|
||||
const first = iter.next().value;
|
||||
const second = iter.next().value;
|
||||
assert.equal(first.payload.key, items2[items.length - 1]);
|
||||
assert.equal(first.payload.key, items2[items2.length - 1]);
|
||||
assert.equal(second, null);
|
||||
assert.equal(first.payload.value, 'hello4');
|
||||
done();
|
||||
|
Loading…
x
Reference in New Issue
Block a user