mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) add dangle-comma
This commit is contained in:
parent
4447d43c89
commit
ea08b92e8b
69 changed files with 242 additions and 242 deletions
|
|
@ -48,7 +48,7 @@ const JSON_FILES = {
|
|||
uid : 0,
|
||||
mode: 'rwx r-x r-x',
|
||||
type: 'file',
|
||||
}]
|
||||
}],
|
||||
};
|
||||
|
||||
let Expect =
|
||||
|
|
@ -74,7 +74,7 @@ test('cloudfunc: render', (t) => {
|
|||
const result = CloudFunc.buildFromJSON({
|
||||
prefix : '',
|
||||
data : JSON_FILES,
|
||||
template
|
||||
template,
|
||||
});
|
||||
|
||||
Expect += expect;
|
||||
|
|
@ -147,7 +147,7 @@ test('cloudfunc: getTitle: no name', (t) => {
|
|||
const path = '/hello/world';
|
||||
|
||||
const result = CloudFunc.getTitle({
|
||||
path
|
||||
path,
|
||||
});
|
||||
|
||||
t.equal(result, 'Cloud Commander - /hello/world');
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ test('util: findObjByNameInArr: array', (t) => {
|
|||
name, [
|
||||
obj,
|
||||
item,
|
||||
]
|
||||
],
|
||||
];
|
||||
|
||||
const result = findObjByNameInArr(array, name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue