Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3f67b507
authored
Jul 10, 2024
by
invalid w
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore: fix test case
1 parent
db76325d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
packages/@core/forward/stores/src/modules/tabbar.test.ts
packages/@core/forward/stores/src/modules/tabbar.test.ts
View file @
3f67b50
...
@@ -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'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment