From 6adac4da3a90ccd5dc85e5aa443474735db29b4a Mon Sep 17 00:00:00 2001 From: Yvo Brevoort Date: Mon, 16 Nov 2020 16:35:13 +0100 Subject: [PATCH] give the test suite a bit longer to run --- test/surface/create-non-container.test.ts | 1 + test/surface/update.test.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/surface/create-non-container.test.ts b/test/surface/create-non-container.test.ts index 492d5f3..9cc835b 100644 --- a/test/surface/create-non-container.test.ts +++ b/test/surface/create-non-container.test.ts @@ -16,6 +16,7 @@ import { ldp, rdf, space, link } from "rdf-namespaces"; const rdflib = require("rdflib"); const waittime = 2000; +jest.setTimeout(30000); // when the tests start, exists/exists.ttl exists in the test folder, // and nothing else. diff --git a/test/surface/update.test.ts b/test/surface/update.test.ts index 30559d0..f9171a7 100644 --- a/test/surface/update.test.ts +++ b/test/surface/update.test.ts @@ -13,7 +13,9 @@ import { } from "../helpers/util"; import { getStore } from "../helpers/util"; import rdflib = require("rdflib"); -const waittime = 1000; + +const waittime = 2000; +jest.setTimeout(30000); // when the tests start, exists/exists.ttl exists in the test folder, // and nothing else.