Skip to content

Commit f102a9c

Browse files
committed
Control Socket test file
1 parent efcb3fb commit f102a9c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/test/controlSocket.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { describe, it } from 'mocha'
2+
import { ControlSocket } from '../controlSocket'
3+
import { assert } from 'chai'
4+
5+
describe('ControlSocket', () => {
6+
7+
it('should try to get list of sockets', async () => {
8+
const cs = new ControlSocket()
9+
const r = await cs.listControlSockets()
10+
assert.isArray(r)
11+
})
12+
13+
})

0 commit comments

Comments
 (0)