chore: test: lint

This commit is contained in:
coderiaser 2025-01-20 18:19:13 +02:00
parent d8da7922d9
commit 907afc6e4a
2 changed files with 9 additions and 13 deletions

View file

@ -64,9 +64,7 @@ export const connect = promisify((options, fn = options) => {
});
});
function defaultConfig() {
return {
auth: false,
root: __dirname,
};
}
const defaultConfig = () => ({
auth: false,
root: __dirname,
});

View file

@ -224,10 +224,8 @@ test('cloudcmd: rest: pack: zip: put: error', async (t) => {
t.end();
});
function getPackOptions(to, names = ['pack']) {
return {
to,
names,
from: '/fixture',
};
}
const getPackOptions = (to, names = ['pack']) => ({
to,
names,
from: '/fixture',
});