Skip to content

Commit

Permalink
refactor (lint): use undefined instead of void(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkgl0w committed Jan 20, 2022
1 parent 1d68d98 commit 62f56b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/global.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ test('It should not return a fastify `FST_ERR_REP_ALREADY_SENT - Reply already s
reply.send(errorResponse(unauthorized))
return reply
}
}).catch(() => void(0))
}).catch(() => undefined)
})
}, {
name: 'regression-plugin-test'
Expand Down

0 comments on commit 62f56b9

Please sign in to comment.