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 a61f550 commit 1111b96Copy full SHA for 1111b96
packages/neo4j-driver/test/driver.test.js
@@ -368,10 +368,14 @@ describe('#integration driver', () => {
368
)
369
const session = driver.session()
370
371
+ jasmine.objectContaining('')
372
+
373
await expectAsync(session.run('RETURN 1')).toBeRejectedWith(
374
jasmine.objectContaining({
375
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.`
376
+ message: jasmine.stringMatching(
377
+ `Server at ${sharedNeo4j.hostname}:7687 can't perform routing. Make sure you are connecting to a causal cluster.`
378
+ )
379
})
380
381
0 commit comments