This commit is contained in:
haad
2016-02-26 13:45:57 +01:00
parent 5f639c87fe
commit 7f34829645
6 changed files with 21 additions and 50 deletions

View File

@@ -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');