Skip to content

Commit 6aa9ace

Browse files
authored
Skip unload test on 3.9+ (#749)
1 parent 2d566fd commit 6aa9ace

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/10-manipulating-collections.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { DocumentCollection } from "../collection";
33
import { Database } from "../database";
44
import { config } from "./_config";
55

6+
const itPre39 = config.arangoVersion! < 30900 ? it : it.skip;
7+
68
describe("Manipulating collections", function () {
79
const name = `testdb_${Date.now()}`;
810
let db: Database;
@@ -75,7 +77,7 @@ describe("Manipulating collections", function () {
7577
});
7678
});
7779
describe("collection.unload", () => {
78-
it("should unload a collection", async () => {
80+
itPre39("should unload a collection", async () => {
7981
const info = await collection.unload();
8082
expect(info).to.have.property("name", collection.name);
8183
expect(info).to.have.property("status");

0 commit comments

Comments
 (0)