Skip to content

Commit

Permalink
Skip unload test on 3.9+ (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
pluma authored Oct 13, 2021
1 parent 2d566fd commit 6aa9ace
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/10-manipulating-collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { DocumentCollection } from "../collection";
import { Database } from "../database";
import { config } from "./_config";

const itPre39 = config.arangoVersion! < 30900 ? it : it.skip;

describe("Manipulating collections", function () {
const name = `testdb_${Date.now()}`;
let db: Database;
Expand Down Expand Up @@ -75,7 +77,7 @@ describe("Manipulating collections", function () {
});
});
describe("collection.unload", () => {
it("should unload a collection", async () => {
itPre39("should unload a collection", async () => {
const info = await collection.unload();
expect(info).to.have.property("name", collection.name);
expect(info).to.have.property("status");
Expand Down

0 comments on commit 6aa9ace

Please sign in to comment.