Skip to content

Commit

Permalink
fix variadic server listen (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloSzx authored Oct 17, 2022
1 parent 16373ce commit 9a1dbc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mercurius-integration-testing",
"version": "6.0.0",
"version": "6.0.1",
"private": false,
"keywords": [
"test",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,9 @@ export function createMercuriusTestClient(
} else {
app.log.warn('Remember to close the app instance manually')

await app.listen(0)
await app.listen({
port: 0,
})

const address = app.server.address()

Expand Down

0 comments on commit 9a1dbc3

Please sign in to comment.