Skip to content

Commit

Permalink
fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Nov 8, 2024
1 parent d54cda8 commit 2025a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/safe-apps/SafeAppsListHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const SafeAppsListHeader = ({ title, amount }: SafeAppsListHeaderProps) => {
mt: 3,
}}
>
{title}({amount || 0})
{title} ({amount || 0})
</Typography>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/tests/pages/apps.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('AppsPage', () => {

// show Bookmarked Safe Apps only
await waitFor(() => {
expect(screen.queryByText(/My pinned apps\s*\(\s*2\s*\)/)).toBeInTheDocument()
expect(screen.queryByText('My pinned apps (2)')).toBeInTheDocument()
expect(screen.queryByLabelText('Unpin Compound')).toBeInTheDocument()
expect(screen.queryByLabelText('Unpin Transaction Builder')).toBeInTheDocument()
expect(screen.queryByLabelText('Unpin ENS App')).not.toBeInTheDocument()
Expand Down

0 comments on commit 2025a72

Please sign in to comment.