Files
socket.io/test/engine-client.js
Guillermo Rauch b7c703998e Some more tests
2011-12-20 22:24:05 -08:00

13 lines
267 B
JavaScript

describe('engine-client', function () {
it('should expose version number', function () {
expect(eio.version).to.match(/[0-9]+\.[0-9]+\.[0-9]+/);
});
it('should expose protocol number', function () {
expect(eio.protocol).to.be.a('number');
});
});