refactor(plugins): decouple bundled plugin runtime loading

This commit is contained in:
Peter Steinberger
2026-03-29 09:08:06 +01:00
parent 1738d540f4
commit 8e0ab35b0e
582 changed files with 8057 additions and 22869 deletions

View File

@@ -2,6 +2,7 @@ import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { afterEach, describe, expect, it } from "vitest";
import { bundledPluginFile } from "../../test/helpers/bundled-plugin-paths.js";
const { detectChangedScope, listChangedPaths } =
(await import("../../scripts/ci-changed-scope.mjs")) as unknown as {
@@ -166,7 +167,7 @@ describe("detectChangedScope", () => {
runSkillsPython: false,
runChangedSmoke: true,
});
expect(detectChangedScope(["extensions/matrix/package.json"])).toEqual({
expect(detectChangedScope([bundledPluginFile("matrix", "package.json")])).toEqual({
runNode: true,
runMacos: false,
runAndroid: false,