mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
Move slowTest into test/integration/index
Deduplicate slowTest into the shared integration test library.
This commit is contained in:
1 parent
43ce6aa58c
commit
8de3f54bc4
4 files changed
+16
-29
No files matched your search
@@ -5,18 +5,13 @@ const path = require("path");
|
||||
|
||||
const factorio = require("lib/factorio");
|
||||
|
||||
const { slowTest } = require("./index");
|
||||
|
||||
|
||||
// The server integration test is required to run before this one
|
||||
require("./server")
|
||||
|
||||
describe("Integration of lib/factorio/patch", function() {
|
||||
// Mark that this test depeneds on a test that takes a lot of time.
|
||||
function slowTest(test) {
|
||||
if (process.env.FAST_TEST) {
|
||||
test.skip();
|
||||
}
|
||||
}
|
||||
|
||||
describe("patch()", function() {
|
||||
let savePath = path.join("test", "temp", "integration", "saves", "test.zip");
|
||||
it("should patch a freeplay game", async function() {
|
||||
|
||||
Reference in new issue
Block a user