We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c5b0a commit d639205Copy full SHA for d639205
packages/neo4j-driver/test/driver.test.js
@@ -392,10 +392,14 @@ describe('#integration driver', () => {
392
)
393
const session = driver.session()
394
395
+ jasmine.objectContaining('')
396
+
397
await expectAsync(session.run('RETURN 1')).toBeRejectedWith(
398
jasmine.objectContaining({
399
code: neo4j.error.SERVICE_UNAVAILABLE,
- 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
+ )
403
})
404
405
0 commit comments