mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
Move slowTest and externalTest to test/common.js
These are used outside of the integration tests, but including the integration index file causes the very slow setup of the contorller and host. Avoid the integration setup costs when running commands such as `pnpm mocha test/lib` by moving these utility functions to the common test functions.
This commit is contained in:
1 parent
ea1cb67502
commit
92d2662078
13 files changed
+38
-34
No files matched your search
@@ -3,9 +3,9 @@ import assert from "node:assert/strict";
|
||||
import * as lib from "@clusterio/lib";
|
||||
import fs from "node:fs/promises";
|
||||
|
||||
import { testMatrix } from "../common.js";
|
||||
import { slowTest, testMatrix } from "../common.js";
|
||||
import {
|
||||
slowTest, exec, execCtl, execCtlProcess, sendRcon, getControl,
|
||||
execCtl, execCtlProcess, sendRcon, getControl,
|
||||
requiresFactorio, hasFactorio, instancesDir,
|
||||
} from "./index.js";
|
||||
|
||||
|
||||
Reference in new issue
Block a user