feat(FN-4175): add integration tests for workflow runtime registration cont

Adds test coverage for workflow registration, integration contract, and runtime export surface across three test files.

Fusion-Task-Id: FN-4175
This commit is contained in:
Fusion
2026-05-12 22:33:36 -07:00
committed by gsxdsm
parent cec9bcbd53
commit 07f008d4eb
3 changed files with 14 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
import { describe, expect, it } from "vitest";
import plugin from "../index.js";
import * as runtimeModule from "../runtime/executor-runtime-env.js";
import { buildExecutorRuntimeEnv } from "../runtime/executor-runtime-env.js";
import { makeFakeRegistry } from "./fixtures/registry.js";
@@ -55,7 +56,9 @@ describe("runtime availability", () => {
}
});
it.skip("TODO(FN-3767): cover resolveGeneratedCliInvocation contract once exported", () => {
// FN-3767 documented resolveGeneratedCliInvocation, but this branch has only buildExecutorRuntimeEnv.
it("documents currently exported runtime helpers", () => {
// FN-3767/FN-4150 track exposing resolveGeneratedCliInvocation in a future runtime surface.
expect(typeof runtimeModule.buildExecutorRuntimeEnv).toBe("function");
expect("resolveGeneratedCliInvocation" in runtimeModule).toBe(false);
});
});