Skip to content

Commit 1111b96

Browse files
committed
Test
1 parent a61f550 commit 1111b96

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
@@ -368,10 +368,14 @@ describe('#integration driver', () => {
368368
)
369369
const session = driver.session()
370370

371+
jasmine.objectContaining('')
372+
371373
await expectAsync(session.run('RETURN 1')).toBeRejectedWith(
372374
jasmine.objectContaining({
373375
code: neo4j.error.SERVICE_UNAVAILABLE,
374-
message: `Neo4jError: Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
376+
message: jasmine.stringMatching(
377+
`Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
378+
)
375379
})
376380
)
377381

0 commit comments

Comments
 (0)