Move slowTest into test/integration/index

Deduplicate slowTest into the shared integration test library.
This commit is contained in:
Hornwitser committed 2020-04-02 15:24:32 +02:00
1 parent 43ce6aa58c
commit 8de3f54bc4
4 files changed
+16 -29

No files matched your search

+1 -12
View File
@@ -4,18 +4,7 @@ const path = require("path");
const validateHTML = require('html5-validator');
const parallel = require('mocha.parallel');
const { get, exec, controlConfigPath, instancesDir } = require("./index");
// Mark that this test takes a lot of time, or depeneds on a test
// that takes a lot of time.
function slowTest(test) {
if (process.env.FAST_TEST) {
test.skip();
}
test.timeout(20000);
}
const { slowTest, get, exec, controlConfigPath, instancesDir } = require("./index");
describe("Integration of Clusterio", function() {