fix(frontend-app-api): root override error message
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com> Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -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",
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -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",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user