mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 00:50:59 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
81e76857da
commit
ef10ebe97c
40 changed files with 137 additions and 134 deletions
|
|
@ -6,8 +6,8 @@ const {once} = require('events');
|
|||
const test = require('supertape');
|
||||
const io = require('socket.io-client');
|
||||
|
||||
const configPath = path.join(__dirname, '../..', 'server', 'config');
|
||||
const {connect} = require('../before');
|
||||
const configPath = path.join(__dirname, '../..', 'server', 'config');
|
||||
const configFn = require(configPath).createConfig();
|
||||
|
||||
test('cloudcmd: console: enabled', async (t) => {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ test('cloudcmd: modules', async (t) => {
|
|||
options,
|
||||
});
|
||||
|
||||
t.deepEqual(body, expected, 'should equal');
|
||||
t.deepEqual(body, expected);
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue