test(FN-3915): revert unrelated dependency graph plugin test drift

- Restore the dependency-graph plugin index test to the intended assertions\n- Remove unintended test-only line changes introduced outside FN-3915 scope\n- Keep the branch focused on the Step 2 cleanup with no behavior changes

Fusion-Task-Id: FN-3915
This commit is contained in:
Fusion
2026-05-10 03:35:01 -07:00
committed by gsxdsm
parent a1f4b53e21
commit 956a4af940

View File

@@ -60,9 +60,7 @@ describe("dependency graph plugin index", () => {
expect(result.status, `Node import check failed: ${result.stderr || result.stdout}`).toBe(0);
});
const hasPluginLoaderPrereqs = existsSync(join(process.cwd(), "dist/index.js"));
const pluginLoaderTest = hasPluginLoaderPrereqs ? it : it.skip;
pluginLoaderTest("is loadable by PluginLoader without throwing", async () => {
it("is loadable by PluginLoader without throwing", async () => {
const rootDir = mkdtempSync(join(tmpdir(), "fn-3737-plugin-loader-"));
testDirs.push(rootDir);