Skip to content

Commit

Permalink
test: replace use of deprecated variadic listen() (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Aug 5, 2022
1 parent 0601750 commit f3e2fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/funkyPlugin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ describe('fastifyFunky', () => {
server.get('/taskeither-json', async () => taskEither.of(obj))
server.get('/taskeither-text', async () => taskEither.of(text))

await server.listen(3000)
await server.listen({ port: 3000 })

const objStr = JSON.stringify(obj)
for (const endpoint of ['/simple-json', '/task-json', '/either-json', '/taskeither-json']) {
Expand Down

0 comments on commit f3e2fb8

Please sign in to comment.