Skip to content

Commit 3f67b50

Browse files
committed
chore: fix test case
1 parent db76325 commit 3f67b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@core/forward/stores/src/modules/tabbar.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe('useCoreAccessStore', () => {
101101
const store = useCoreTabbarStore();
102102
store.cachedTabs.add('Home');
103103
store.cachedTabs.add('About');
104-
expect(store.cachedTabs).toEqual(['Home', 'About']);
104+
expect(store.cachedTabs).toEqual(new Set(['Home', 'About']));
105105
});
106106

107107
it('returns all tabs, including affix tabs', () => {

0 commit comments

Comments
 (0)