mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
chore(cloudcmd) lint: add ";"
This commit is contained in:
parent
4d52059c7d
commit
bb5898835d
3 changed files with 6 additions and 6 deletions
|
|
@ -45,7 +45,7 @@
|
|||
},
|
||||
"config": {
|
||||
"dirs": "bin/cloudcmd.js common server",
|
||||
"dirs_test": "test bin/release.js webpack.config.js cssnano.config.js .webpack client/**/*.spec.js server/**/*.spec.js common/**/*.spec.js"
|
||||
"dirs_test": "test bin/release.js webpack.config.js cssnano.config.js .webpack {client,server,common}/**/*.spec.js"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node bin/cloudcmd.js",
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ test('cloudcmd: markdown: put', async (t) => {
|
|||
|
||||
const {body} = await request.put('/api/v1/markdown', {
|
||||
body: mdStream,
|
||||
})
|
||||
});
|
||||
|
||||
t.equal(body, htmlFile, 'should render markdown input to html');
|
||||
t.end();
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ test('cloudcmd: route: file: fs', async (t) => {
|
|||
|
||||
test('cloudcmd: route: symlink', async (t) => {
|
||||
const emptyDir = path.join(fixtureDir, 'empty-dir');
|
||||
const root = fixtureDir
|
||||
const root = fixtureDir;
|
||||
const symlink = path.join(root, 'symlink-dir');
|
||||
|
||||
const config = {
|
||||
|
|
@ -362,7 +362,7 @@ test('cloudcmd: route: buttons: no terminal', async (t) => {
|
|||
|
||||
const options = {
|
||||
config,
|
||||
}
|
||||
};
|
||||
|
||||
const {body} = await request.get('/', {
|
||||
options
|
||||
|
|
@ -379,7 +379,7 @@ test('cloudcmd: route: no termianl: /fs', async (t) => {
|
|||
|
||||
const options = {
|
||||
config,
|
||||
}
|
||||
};
|
||||
|
||||
const {request} = serveOnce(cloudcmd);
|
||||
const {body} = await request.get('/fs', {
|
||||
|
|
@ -433,7 +433,7 @@ test('cloudcmd: route: buttons: contact', async (t) => {
|
|||
|
||||
const options = {
|
||||
config,
|
||||
}
|
||||
};
|
||||
|
||||
const {request} = serveOnce(cloudcmd);
|
||||
const {body} = await request.get('/', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue