Skip to content

Commit a263240

Browse files
committed
Add ignore condition to the failing test
1 parent 1be4f3e commit a263240

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/bolt-v4.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ describe('Bolt V4 API', () => {
121121
})
122122

123123
it('should fail if connecting to a non-existing database', done => {
124+
if (!databaseSupportsBoltV4()) {
125+
done()
126+
return
127+
}
128+
124129
const neoSession = driver.session({ db: 'testdb' })
125130

126131
neoSession

0 commit comments

Comments
 (0)