chore(cloudcmd) lint: add ";"

This commit is contained in:
coderaiser 2018-12-25 15:15:31 +02:00
parent 4d52059c7d
commit bb5898835d
3 changed files with 6 additions and 6 deletions

View file

@ -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",

View file

@ -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();

View file

@ -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('/', {