mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: test: lint
This commit is contained in:
parent
d8da7922d9
commit
907afc6e4a
2 changed files with 9 additions and 13 deletions
|
|
@ -64,9 +64,7 @@ export const connect = promisify((options, fn = options) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function defaultConfig() {
|
const defaultConfig = () => ({
|
||||||
return {
|
auth: false,
|
||||||
auth: false,
|
root: __dirname,
|
||||||
root: __dirname,
|
});
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -224,10 +224,8 @@ test('cloudcmd: rest: pack: zip: put: error', async (t) => {
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
|
|
||||||
function getPackOptions(to, names = ['pack']) {
|
const getPackOptions = (to, names = ['pack']) => ({
|
||||||
return {
|
to,
|
||||||
to,
|
names,
|
||||||
names,
|
from: '/fixture',
|
||||||
from: '/fixture',
|
});
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue