File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -572,6 +572,10 @@ describe('session', () => {
572
572
} ) ;
573
573
574
574
it ( 'should update last bookmark after every read tx commit' , done => {
575
+ if ( ! serverIs31OrLater ( done ) ) {
576
+ return ;
577
+ }
578
+
575
579
const bookmarkBefore = session . lastBookmark ( ) ;
576
580
577
581
const tx = session . beginTransaction ( ) ;
@@ -592,6 +596,10 @@ describe('session', () => {
592
596
} ) ;
593
597
594
598
it ( 'should update last bookmark after every write tx commit' , done => {
599
+ if ( ! serverIs31OrLater ( done ) ) {
600
+ return ;
601
+ }
602
+
595
603
const bookmarkBefore = session . lastBookmark ( ) ;
596
604
597
605
const tx = session . beginTransaction ( ) ;
@@ -608,6 +616,10 @@ describe('session', () => {
608
616
} ) ;
609
617
610
618
it ( 'should not lose last bookmark after run' , done => {
619
+ if ( ! serverIs31OrLater ( done ) ) {
620
+ return ;
621
+ }
622
+
611
623
const tx = session . beginTransaction ( ) ;
612
624
tx . run ( 'CREATE ()' ) . then ( ( ) => {
613
625
tx . commit ( ) . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments