Skip to content

Commit dbfa103

Browse files
author
mpv1989
committed
Fix tests
1 parent 9b203a9 commit dbfa103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/06-managing-functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Database } from "../arangojs";
22
import { expect } from "chai";
33

44
const ARANGO_VERSION = Number(process.env.ARANGO_VERSION || 30000);
5-
const it34 = ARANGO_VERSION >= 34000 ? it : it.skip;
5+
const it34 = ARANGO_VERSION >= 30400 ? it : it.skip;
66

77
describe("Managing functions", function() {
88
// create database takes 11s in a standard cluster
@@ -90,7 +90,7 @@ describe("Managing functions", function() {
9090
)
9191
.then(() => {
9292
return db.dropFunction(name).then(info => {
93-
if (ARANGO_VERSION >= 34000)
93+
if (ARANGO_VERSION >= 30400)
9494
expect(info).to.have.property("deletedCount", 1);
9595
});
9696
})

0 commit comments

Comments
 (0)