Add options, cache filename

This commit is contained in:
haad
2016-03-22 18:26:48 +01:00
parent 499e443818
commit 42454fa598
4 changed files with 19 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ describe('Orbit Client', function() {
let channel = 'abcdefgh';
before(async((done) => {
client = await(OrbitClient.connect(host, port, username, password, true));
client = await(OrbitClient.connect(host, port, username, password, null, { allowOffline: true }));
db = client.channel(channel, '', false);
db.delete();
done();