mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
test(vue): formatting error in test (#24897)
This commit is contained in:
@ -229,11 +229,13 @@ describe('Routing', () => {
|
||||
routes: [
|
||||
{ path: '/', redirect: '/tabs/tab1' },
|
||||
{ path: '/parent', component: Parent },
|
||||
{ path: '/tabs/', component: Tabs, children: [
|
||||
{ path: '/', redirect: 'tab1' },
|
||||
{ path: 'tab1', component: Tab1 },
|
||||
{ path: 'tab2', component: Tab2 }
|
||||
]}
|
||||
{
|
||||
path: '/tabs/', component: Tabs, children: [
|
||||
{ path: '/', redirect: 'tab1' },
|
||||
{ path: 'tab1', component: Tab1 },
|
||||
{ path: 'tab2', component: Tab2 }
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@ -474,7 +476,7 @@ describe('Routing', () => {
|
||||
const router = createRouter({
|
||||
history: createWebHistory(process.env.BASE_URL),
|
||||
routes: [
|
||||
{ path: '/', component: Page }
|
||||
{ path: '/', component: Page },
|
||||
{ path: '/page2', component: Page2 }
|
||||
]
|
||||
});
|
||||
@ -527,7 +529,7 @@ describe('Routing', () => {
|
||||
const router = createRouter({
|
||||
history: createWebHistory(process.env.BASE_URL),
|
||||
routes: [
|
||||
{ path: '/', component: Page }
|
||||
{ path: '/', component: Page },
|
||||
{ path: '/page2', component: Page2 },
|
||||
{ path: '/page3', component: Page3 },
|
||||
]
|
||||
|
Reference in New Issue
Block a user