mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
7aacf203a0
commit
6b9d43e9ab
16 changed files with 28 additions and 9 deletions
|
|
@ -18,6 +18,7 @@ test('cloudcmd: console: enabled', async (t) => {
|
|||
const {port, done} = await connect({
|
||||
config,
|
||||
});
|
||||
|
||||
const socket = io(`http://localhost:${port}/console`);
|
||||
|
||||
socket.emit('auth', configFn('username'), configFn('password'));
|
||||
|
|
@ -39,6 +40,7 @@ test('cloudcmd: console: disabled', async (t) => {
|
|||
const {port, done} = await connect({
|
||||
config,
|
||||
});
|
||||
|
||||
const socket = io(`http://localhost:${port}/console`);
|
||||
|
||||
const [error] = await once(socket, 'connect_error');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue