Commit 3f67b507 by invalid w

chore: fix test case

1 parent db76325d
...@@ -101,7 +101,7 @@ describe('useCoreAccessStore', () => { ...@@ -101,7 +101,7 @@ describe('useCoreAccessStore', () => {
const store = useCoreTabbarStore(); const store = useCoreTabbarStore();
store.cachedTabs.add('Home'); store.cachedTabs.add('Home');
store.cachedTabs.add('About'); store.cachedTabs.add('About');
expect(store.cachedTabs).toEqual(['Home', 'About']); expect(store.cachedTabs).toEqual(new Set(['Home', 'About']));
}); });
it('returns all tabs, including affix tabs', () => { it('returns all tabs, including affix tabs', () => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!