Skip to content

Commit a032816

Browse files
committed
Return port as string since it will be used just to interpolate string
1 parent a40ca72 commit a032816

File tree

1 file changed

+4
-4
lines changed
  • packages/neo4j-driver-lite/test/integration

1 file changed

+4
-4
lines changed

packages/neo4j-driver-lite/test/integration/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ export default {
4545
get testNonClusterSafe () {
4646
return cluster ? test.skip.bind(test) : test
4747
},
48-
get httpPort () {
49-
return neo4jContainer.getHttpPort(httpPort)
48+
get httpPort (): string {
49+
return neo4jContainer.getHttpPort(httpPort).toString()
5050
},
51-
get boltPort () {
52-
return neo4jContainer.getBoltPort(boltPort)
51+
get boltPort (): string {
52+
return neo4jContainer.getBoltPort(boltPort).toString()
5353
},
5454
async startNeo4j () {
5555
await neo4jContainer.start()

0 commit comments

Comments
 (0)