Skip to content

Commit

Permalink
Merge 54bee85 into cf01116
Browse files Browse the repository at this point in the history
  • Loading branch information
zekth committed Apr 6, 2021
2 parents cf01116 + 54bee85 commit fca21eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .taprc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
esm: false
ts: false
jsx: false
flow: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"request": "^2.88.0",
"snazzy": "^9.0.0",
"standard": "^16.0.0",
"tap": "^14.10.7",
"tap": "^15.0.2",
"typescript": "^4.0.2",
"tsd": "^0.14.0"
},
Expand Down
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ test('accept header', t => {
const fastify = Fastify()
fastify.register(plugin, { decorateReply: true })

t.tearDown(fastify.close.bind(fastify))
t.teardown(fastify.close.bind(fastify))

fastify.get('/request', function (req, reply) {
reply.send({
Expand Down Expand Up @@ -150,6 +150,6 @@ test('no reply decorator', async function (t) {
]

for (const method of methodNames) {
t.is(fastify.hasReplyDecorator('request' + method, false), false)
t.equal(fastify.hasReplyDecorator('request' + method, false), false)
}
})

0 comments on commit fca21eb

Please sign in to comment.