test: remove duplicate re-export coverage (#121547)

This commit is contained in:
Peter Steinberger
2026-08-10 03:03:36 -07:00
committed by GitHub
parent 260628f4fa
commit 8395145ef0
2 changed files with 0 additions and 44 deletions
-22
View File
@@ -888,28 +888,6 @@ describe("test-projects args", () => {
]);
});
it("rejects explicit test-support helper files with no importing tests", () => {
const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-test-targets-"));
try {
fs.mkdirSync(path.join(tempDir, "src", "lonely"), { recursive: true });
fs.writeFileSync(
path.join(tempDir, "src", "lonely", "runtime.test-helpers.ts"),
"export {};\n",
);
expect(
findUnmatchedExplicitTestTargets(["src/lonely/runtime.test-helpers.ts"], tempDir),
).toEqual([
{
target: "src/lonely/runtime.test-helpers.ts",
reason: "target-matched-no-test-files",
},
]);
} finally {
fs.rmSync(tempDir, { recursive: true, force: true });
}
});
it("accepts explicit Vitest config targets routed as whole config runs", () => {
expect(
findUnmatchedExplicitTestTargets(["test/vitest/vitest.contracts-channel-surface.config.ts"]),