@@ -8,10 +8,11 @@ const IGNORE_GLOB = ["**/node_modules/**", "**/dist-dynamic/**"];
88
99const ROOT_DIR = path . join ( __dirname , "../../.." ) ;
1010const DYNAMIC_PLUGINS_DIR = path . join ( ROOT_DIR , "dynamic-plugins/wrappers" ) ;
11- const DYNAMIC_PLUGINS_CONFIG_FILE = path . join (
12- ROOT_DIR ,
13- "dynamic-plugins.default.yaml" ,
14- ) ;
11+ // RHIDP-10876 don't use the dynamic-plugins.default.yaml in the root of the RHDH repo anymore
12+ // const DYNAMIC_PLUGINS_CONFIG_FILE = path.join(
13+ // ROOT_DIR,
14+ // "dynamic-plugins.default.yaml",
15+ // );
1516const APP_CONFIG_DYNAMIC_PLUGINS_CONFIG_FILE = path . join (
1617 ROOT_DIR ,
1718 "app-config.dynamic-plugins.yaml" ,
@@ -195,28 +196,29 @@ describe("Dynamic Plugin Wrappers", () => {
195196 ) ;
196197 } ) ;
197198
198- describe ( "(dynamic-plugins.default.yaml) should have a valid config" , ( ) => {
199- const config = parseYamlFile < DynamicPluginsConfig > (
200- DYNAMIC_PLUGINS_CONFIG_FILE ,
201- ) ;
202-
203- it ( "should have a corresponding package" , ( ) => {
204- validateDynamicPluginsConfig ( config , wrapperDirNames ) ;
205- } ) ;
206-
207- it . each ( frontendPackageJsonFiles ) (
208- "$scalprum.name should exist in the config" ,
209- ( { scalprum } ) => {
210- expect (
211- config . plugins . some ( ( plugin ) =>
212- Object . keys (
213- plugin . pluginConfig ?. dynamicPlugins ?. frontend ?? { } ,
214- ) . includes ( scalprum . name ) ,
215- ) ,
216- ) . toBeTruthy ( ) ;
217- } ,
218- ) ;
219- } ) ;
199+ // RHIDP-10876 don't use the dynamic-plugins.default.yaml in the root of the RHDH repo anymore
200+ // describe("(dynamic-plugins.default.yaml) should have a valid config", () => {
201+ // const config = parseYamlFile<DynamicPluginsConfig>(
202+ // DYNAMIC_PLUGINS_CONFIG_FILE,
203+ // );
204+
205+ // it("should have a corresponding package", () => {
206+ // validateDynamicPluginsConfig(config, wrapperDirNames);
207+ // });
208+
209+ // it.each(frontendPackageJsonFiles)(
210+ // "$scalprum.name should exist in the config",
211+ // ({ scalprum }) => {
212+ // expect(
213+ // config.plugins.some((plugin) =>
214+ // Object.keys(
215+ // plugin.pluginConfig?.dynamicPlugins?.frontend ?? {},
216+ // ).includes(scalprum.name),
217+ // ),
218+ // ).toBeTruthy();
219+ // },
220+ // );
221+ // });
220222
221223 describe ( "(app-config.dynamic-plugins.yaml) should have a valid config" , ( ) => {
222224 const config = parseYamlFile < DynamicPluginAppConfig > (
0 commit comments