Skip to content

Commit c2d8bdc

Browse files
committed
Test
1 parent 98e5607 commit c2d8bdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/neo4j-driver/test/driver.test.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,14 @@ describe('#integration driver', () => {
398398
)
399399
const session = driver.session()
400400

401+
jasmine.objectContaining('')
402+
401403
await expectAsync(session.run('RETURN 1')).toBeRejectedWith(
402404
jasmine.objectContaining({
403405
code: neo4j.error.SERVICE_UNAVAILABLE,
404-
message: `Neo4jError: Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
406+
message: jasmine.stringMatching(
407+
`Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
408+
)
405409
})
406410
)
407411

0 commit comments

Comments
 (0)