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