Skip to content

Commit

Permalink
fix(tabBarItem): add test
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxiaoqi committed Oct 30, 2024
1 parent 20bad75 commit a2f9cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vant/src/tabbar/test/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ test('should sync v-model when accessing matched route directly', async () => {
<Tabbar route v-model={active.value} onChange={onChange}>
<TabbarItem to="/">Tab 1</TabbarItem>
<TabbarItem to="/search">Tab 2</TabbarItem>
<TabbarItem to={{ name: 'star', path: '/star' }}>Tab 3</TabbarItem>
<TabbarItem to="/star">Tab 3</TabbarItem>
</Tabbar>
);
},
Expand Down

0 comments on commit a2f9cdf

Please sign in to comment.