Skip to content

Commit

Permalink
2.17.4 - Optimize test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanvdWest committed Mar 24, 2017
1 parent 619e112 commit ab9f93e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/b8_security_https_websockets_sanity.js
Original file line number Diff line number Diff line change
Expand Up @@ -1005,12 +1005,9 @@ describe('b8_security_https_websockets_sanity', function () {
happn_client.create({config: {protocol: 'http'}, testMode: true}, function (e) {
expect(e).to.be.an('object');
expect(happn_client.lastClient).to.be.an('object');
setTimeout(function () {
expect(happn_client.lastClient).to.have.property('options');
expect(happn_client.lastClient).to.not.have.property('pubsub');
done();
}, 5000);

expect(happn_client.lastClient).to.have.property('options');
expect(happn_client.lastClient).to.not.have.property('pubsub');
done();
});

});
Expand Down

0 comments on commit ab9f93e

Please sign in to comment.