feat(sdk,client): add menu to help navigation between apps
All checks were successful
arcad/edge/pipeline/head This commit looks good
All checks were successful
arcad/edge/pipeline/head This commit looks good
This commit is contained in:
@ -1,25 +1,25 @@
|
||||
Edge.debug = true;
|
||||
EdgeFrame.debug = true;
|
||||
Edge.Client.debug = true;
|
||||
Edge.Frame.debug = true;
|
||||
|
||||
describe('Edge', function() {
|
||||
|
||||
describe('#connect()', function() {
|
||||
after(() => {
|
||||
Edge.disconnect();
|
||||
Edge.Client.disconnect();
|
||||
});
|
||||
|
||||
it('should open the connection', function() {
|
||||
return Edge.connect()
|
||||
return Edge.Client.connect()
|
||||
.then(() => {
|
||||
chai.assert.isNotNull(Edge._conn);
|
||||
chai.assert.isNotNull(Edge.Client._conn);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('#disconnect()', function() {
|
||||
it('should close the connection', function() {
|
||||
Edge.disconnect();
|
||||
chai.assert.isNull(Edge._conn);
|
||||
Edge.Client.disconnect();
|
||||
chai.assert.isNull(Edge.Client._conn);
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user