chore(cloudcmd) lint

This commit is contained in:
coderaiser 2022-06-14 14:38:11 +03:00
parent 81e76857da
commit ef10ebe97c
40 changed files with 137 additions and 134 deletions

View file

@ -12,12 +12,6 @@ const DIR = './';
const cloudcmdPath = DIR + 'cloudcmd';
const cloudcmd = require(cloudcmdPath);
const {
createConfigManager,
_getPrefix,
_initAuth,
} = cloudcmd;
const {request} = require('serve-once')(cloudcmd, {
config: {
auth: false,
@ -25,6 +19,12 @@ const {request} = require('serve-once')(cloudcmd, {
},
});
const {
createConfigManager,
_getPrefix,
_initAuth,
} = cloudcmd;
test('cloudcmd: defaults: config', (t) => {
const configManager = createConfigManager();