William Petit 240b07af66
All checks were successful
arcad/edge/pipeline/head This commit looks good
feat(sdk,client): add edgeframe sdk api
2023-04-06 18:16:17 +02:00

27 lines
513 B
JavaScript

Edge.debug = true;
EdgeFrame.debug = true;
describe('Edge', function() {
describe('#connect()', function() {
after(() => {
Edge.disconnect();
});
it('should open the connection', function() {
return Edge.connect()
.then(() => {
chai.assert.isNotNull(Edge._conn);
});
});
});
describe('#disconnect()', function() {
it('should close the connection', function() {
Edge.disconnect();
chai.assert.isNull(Edge._conn);
});
});
});