Skip to content

Commit

Permalink
test(index): prefix unused params with underscores (#184)
Browse files Browse the repository at this point in the history
Signed-off-by: Frazer Smith <[email protected]>
  • Loading branch information
Fdawgs authored Dec 30, 2024
1 parent 09614ba commit cbb113d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ test('accept header', t => {
})
})

fastify.get('/reply', function (req, reply) {
fastify.get('/reply', function (_req, reply) {
reply.send({
types: reply.requestTypes(),
param1: reply.requestCharsets(['utf1'])
Expand All @@ -128,7 +128,7 @@ test('accept header', t => {
accept: testCase.acceptHeader
},
json: true
}, (err, response, body) => {
}, (err, _response, body) => {
t.ok(!err)
t.strictSame(body, testCase.expected)
})
Expand Down

0 comments on commit cbb113d

Please sign in to comment.