From 3f67b50780d8746bc74c3474924b12718629bebd Mon Sep 17 00:00:00 2001 From: invalid w Date: Wed, 10 Jul 2024 15:55:56 +0800 Subject: [PATCH] chore: fix test case --- packages/@core/forward/stores/src/modules/tabbar.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@core/forward/stores/src/modules/tabbar.test.ts b/packages/@core/forward/stores/src/modules/tabbar.test.ts index a9974acf..49a93ec2 100644 --- a/packages/@core/forward/stores/src/modules/tabbar.test.ts +++ b/packages/@core/forward/stores/src/modules/tabbar.test.ts @@ -101,7 +101,7 @@ describe('useCoreAccessStore', () => { const store = useCoreTabbarStore(); store.cachedTabs.add('Home'); 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', () => {