rename app/router to app/root
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ export function createSignInPageExtension<
|
||||
kind: 'sign-in-page',
|
||||
namespace: options?.namespace,
|
||||
name: options?.name,
|
||||
attachTo: options.attachTo ?? { id: 'app/router', input: 'signInPage' },
|
||||
attachTo: options.attachTo ?? { id: 'app/root', input: 'signInPage' },
|
||||
configSchema: options.configSchema,
|
||||
inputs: options.inputs,
|
||||
disabled: options.disabled,
|
||||
|
||||
@@ -150,7 +150,7 @@ describe('createPlugin', () => {
|
||||
await renderWithEffects(
|
||||
createTestAppRoot({
|
||||
features: [plugin],
|
||||
config: { app: { extensions: [{ 'app/router': false }] } },
|
||||
config: { app: { extensions: [{ 'app/root': false }] } },
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -172,7 +172,7 @@ describe('createPlugin', () => {
|
||||
config: {
|
||||
app: {
|
||||
extensions: [
|
||||
{ 'app/router': false },
|
||||
{ 'app/root': false },
|
||||
{
|
||||
'test/2': {
|
||||
config: { name: 'extension-2-renamed' },
|
||||
@@ -210,7 +210,7 @@ describe('createPlugin', () => {
|
||||
features: [plugin],
|
||||
config: {
|
||||
app: {
|
||||
extensions: [{ 'app/router': false }],
|
||||
extensions: [{ 'app/root': false }],
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user