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:
Camila Belo
2023-09-20 16:35:06 +02:00
parent cfd94f29ed
commit 8e0907c37d
2 changed files with 2 additions and 2 deletions
@@ -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",
);
}