mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Cleanups
This commit is contained in:
@@ -30,24 +30,6 @@ describe('Orbit Client', () => {
|
||||
done();
|
||||
}));
|
||||
|
||||
/*
|
||||
describe('Info', function() { // }
|
||||
// };
|
||||
// var res = db.setMode(mode)
|
||||
// var info = orbit.channel(channel, 'password').info();
|
||||
// assert.notEqual(info, null);
|
||||
// assert.equal(info.head, null);
|
||||
// assert.equal(JSON.stringify(info.modes), JSON.stringify(res));
|
||||
// orbit.channel(channel, 'password').delete();
|
||||
// } catch(e) {
|
||||
// orbit.channel(channel, 'password').delete();
|
||||
// assert.equal(e, null);
|
||||
// }
|
||||
// done();
|
||||
// }));
|
||||
});
|
||||
*/
|
||||
|
||||
describe('Add events', function() {
|
||||
it('adds an item to an empty channel', async((done) => {
|
||||
const head = db.add('hello');
|
||||
|
||||
Reference in New Issue
Block a user