Skip to content

Commit

Permalink
chore(project): fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
olga-jwp committed Jul 28, 2023
1 parent f0ada87 commit c6fbbc7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/CardGrid/CardGrid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@ describe('<CardGrid>', () => {
it('renders and matches snapshot', () => {
const playlist = playlistFixture as Playlist;
const { container } = renderWithRouter(
<CardGrid
playlist={playlist}
onCardHover={vi.fn()}
onCardClick={vi.fn()}
isLoading={false}
accessModel={'SVOD'}
isLoggedIn={true}
hasSubscription={true}
/>,
<CardGrid playlist={playlist} onCardHover={vi.fn()} isLoading={false} accessModel={'SVOD'} isLoggedIn={true} hasSubscription={true} />,
);

expect(container).toMatchSnapshot();
Expand Down

0 comments on commit c6fbbc7

Please sign in to comment.