diff --git a/package.json b/package.json index f06baaa..a51da8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mercurius-integration-testing", - "version": "6.0.0", + "version": "6.0.1", "private": false, "keywords": [ "test", diff --git a/src/index.ts b/src/index.ts index b90f969..b6c0d2f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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()