File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ import { Database } from "../arangojs";
33import { ArangoSearchView } from "../view" ;
44
55const range = ( n : number ) : number [ ] => Array . from ( Array ( n ) . keys ( ) ) ;
6+ const ARANGO_VERSION = Number ( process . env . ARANGO_VERSION || 30400 ) ;
7+ const describe34 = ARANGO_VERSION >= 30400 ? describe : describe . skip ;
68
7- describe ( "Accessing views" , function ( ) {
9+ describe34 ( "Accessing views" , function ( ) {
810 // create database takes 11s in a standard cluster
911 this . timeout ( 20000 ) ;
1012
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ import { expect } from "chai";
22import { Database } from "../arangojs" ;
33import { ArangoSearchView } from "../view" ;
44
5- describe ( "View metadata" , function ( ) {
5+ const ARANGO_VERSION = Number ( process . env . ARANGO_VERSION || 30400 ) ;
6+ const describe34 = ARANGO_VERSION >= 30400 ? describe : describe . skip ;
7+
8+ describe34 ( "View metadata" , function ( ) {
69 // create database takes 11s in a standard cluster
710 this . timeout ( 20000 ) ;
811
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ import { Database } from "../arangojs";
33import { ArangoSearchView } from "../view" ;
44
55const ARANGO_VERSION = Number ( process . env . ARANGO_VERSION || 30400 ) ;
6+ const describe34 = ARANGO_VERSION >= 30400 ? describe : describe . skip ;
67
7- describe ( "Manipulating views" , function ( ) {
8+ describe34 ( "Manipulating views" , function ( ) {
89 // create database takes 11s in a standard cluster
910 this . timeout ( 20000 ) ;
1011
You can’t perform that action at this time.
0 commit comments