Skip to content

Commit d639205

Browse files
committed
Test
1 parent a2c5b0a commit d639205

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
@@ -392,10 +392,14 @@ describe('#integration driver', () => {
392392
)
393393
const session = driver.session()
394394

395+
jasmine.objectContaining('')
396+
395397
await expectAsync(session.run('RETURN 1')).toBeRejectedWith(
396398
jasmine.objectContaining({
397399
code: neo4j.error.SERVICE_UNAVAILABLE,
398-
message: `Neo4jError: Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
400+
message: jasmine.stringMatching(
401+
`Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
402+
)
399403
})
400404
)
401405

0 commit comments

Comments
 (0)