Skip to content

Commit 34051df

Browse files
committed
Don't continue execution when test is ignored
1 parent 0396124 commit 34051df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/v1/driver.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ describe('driver', () => {
203203
it('should fail nicely when connecting with routing to standalone server', done => {
204204
if (serverVersion.compareTo(VERSION_4_0_0) >= 0) {
205205
done();
206+
return;
206207
}
207208

208209
// Given
@@ -412,6 +413,7 @@ describe('driver', () => {
412413
if (serverVersion.compareTo(VERSION_3_1_0) < 0) {
413414
// IPv6 listen address only supported starting from neo4j 3.1, so let's ignore the rest
414415
done();
416+
return;
415417
}
416418

417419
driver = neo4j.driver(url, sharedNeo4j.authToken);

0 commit comments

Comments
 (0)