Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
10 changes: 5 additions & 5 deletions test/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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()

Expand Down Expand Up @@ -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()

Expand Down Expand Up @@ -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()

Expand Down Expand Up @@ -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())
Expand Down