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', () => {
572572 } ) ;
573573
574574 it ( 'should update last bookmark after every read tx commit' , done => {
575+ if ( ! serverIs31OrLater ( done ) ) {
576+ return ;
577+ }
578+
575579 const bookmarkBefore = session . lastBookmark ( ) ;
576580
577581 const tx = session . beginTransaction ( ) ;
@@ -592,6 +596,10 @@ describe('session', () => {
592596 } ) ;
593597
594598 it ( 'should update last bookmark after every write tx commit' , done => {
599+ if ( ! serverIs31OrLater ( done ) ) {
600+ return ;
601+ }
602+
595603 const bookmarkBefore = session . lastBookmark ( ) ;
596604
597605 const tx = session . beginTransaction ( ) ;
@@ -608,6 +616,10 @@ describe('session', () => {
608616 } ) ;
609617
610618 it ( 'should not lose last bookmark after run' , done => {
619+ if ( ! serverIs31OrLater ( done ) ) {
620+ return ;
621+ }
622+
611623 const tx = session . beginTransaction ( ) ;
612624 tx . run ( 'CREATE ()' ) . then ( ( ) => {
613625 tx . commit ( ) . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments