diff --git a/packages/frontend-app-api/src/wiring/createApp.test.tsx b/packages/frontend-app-api/src/wiring/createApp.test.tsx index dcbd996f15..e649931403 100644 --- a/packages/frontend-app-api/src/wiring/createApp.test.tsx +++ b/packages/frontend-app-api/src/wiring/createApp.test.tsx @@ -47,7 +47,7 @@ describe('createInstances', () => { }), ]; expect(() => createInstances({ config, plugins })).toThrow( - 'A "root" extension was detected on the config file and root extensions are not configurable', + "A 'root' extension configuration was detected, but the root extension is not configurable", ); }); diff --git a/packages/frontend-app-api/src/wiring/parameters.ts b/packages/frontend-app-api/src/wiring/parameters.ts index 1f4fda12e9..0711f90665 100644 --- a/packages/frontend-app-api/src/wiring/parameters.ts +++ b/packages/frontend-app-api/src/wiring/parameters.ts @@ -237,7 +237,7 @@ export function mergeExtensionParameters(options: { // Prevent root parametrization if (extensionId === 'root') { throw new Error( - 'A "root" extension was detected on the config file and root extensions are not configurable', + "A 'root' extension configuration was detected, but the root extension is not configurable", ); }