mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
chore(eslint) add indent, semi
This commit is contained in:
parent
a8b4ef9230
commit
d638ecd111
24 changed files with 102 additions and 95 deletions
|
|
@ -7,7 +7,7 @@ const before = require('./before');
|
|||
|
||||
test('cloudcmd: console: enabled by default', (t) => {
|
||||
before({}, (port, after) => {
|
||||
const socket = io(`http://localhost:${port}/console`)
|
||||
const socket = io(`http://localhost:${port}/console`);
|
||||
|
||||
socket.once('data', (data) => {
|
||||
socket.close();
|
||||
|
|
@ -22,7 +22,7 @@ test('cloudcmd: console: enabled', (t) => {
|
|||
const config = {console: true};
|
||||
|
||||
before({config}, (port, after) => {
|
||||
const socket = io(`http://localhost:${port}/console`)
|
||||
const socket = io(`http://localhost:${port}/console`);
|
||||
|
||||
socket.once('data', (data) => {
|
||||
socket.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue