From bb5898835debb5eaf58489b9f43d20c814767b74 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 25 Dec 2018 15:15:31 +0200 Subject: [PATCH] chore(cloudcmd) lint: add ";" --- package.json | 2 +- server/markdown.spec.js | 2 +- server/route.spec.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8e6043de..a8dd9a26 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/server/markdown.spec.js b/server/markdown.spec.js index fbdb8e38..71b4bd1d 100644 --- a/server/markdown.spec.js +++ b/server/markdown.spec.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(); diff --git a/server/route.spec.js b/server/route.spec.js index c315e51b..07d835f5 100644 --- a/server/route.spec.js +++ b/server/route.spec.js @@ -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('/', {