mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-27 02:52:14 +01:00
14 lines
326 B
JavaScript
14 lines
326 B
JavaScript
/* eslint-disable symbol-description */
|
|
/* eslint-disable no-unused-expressions */
|
|
import { expect } from 'chai';
|
|
import Socket from '@/lib/Socket';
|
|
|
|
describe('Socket', () => {
|
|
it('Should add listener', () => {
|
|
const socket = new Socket(() => ({
|
|
close: () => {},
|
|
}));
|
|
expect(socket.ws).to.be.ok;
|
|
});
|
|
});
|