diff --git a/package.json b/package.json index f656413..93d01dc 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "fastify": "^2.4.1", "pre-commit": "^1.2.2", "snazzy": "^8.0.0", - "standard": "^13.0.1", + "standard": "^14.0.2", "tap": "^12.7.0" }, "dependencies": { diff --git a/test/router.js b/test/router.js index 4d73617..554164b 100644 --- a/test/router.js +++ b/test/router.js @@ -107,7 +107,7 @@ test('Should expose websocket and http route', t => { }) }) -test(`Should close on unregistered path`, t => { +test('Should close on unregistered path', t => { t.plan(2) const fastify = Fastify() @@ -138,7 +138,7 @@ test(`Should close on unregistered path`, t => { }) }) -test(`Should throw on wrong HTTP method`, t => { +test('Should throw on wrong HTTP method', t => { t.plan(2) const fastify = Fastify() @@ -185,7 +185,7 @@ test('Should throw on invalid wsHandler', t => { }) }) -test(`Should open on registered path`, t => { +test('Should open on registered path', t => { t.plan(2) const fastify = Fastify() @@ -217,7 +217,7 @@ test(`Should open on registered path`, t => { }) }) -test(`Should send message and close`, t => { +test('Should send message and close', t => { t.plan(5) const fastify = Fastify() @@ -257,7 +257,7 @@ test(`Should send message and close`, t => { }) }) -test(`Should return 404 on http request`, t => { +test('Should return 404 on http request', t => { const fastify = Fastify() t.tearDown(() => fastify.close())