Skip to content

Commit

Permalink
fix: failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed Aug 11, 2023
1 parent c4875a6 commit 80f6814
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ describe('<NoAds/>', () => {
const create_ad_button = screen.getByRole('button', { name: 'Create new ad' });
expect(create_ad_button).toBeInTheDocument();
create_ad_button.click();
expect(mock_store_values.buy_sell_store.setCreateSellAdFromNoAds).toHaveBeenCalledWith(true);
expect(mock_store_values.general_store.handleTabClick).toHaveBeenCalledTimes(0);
expect(mock_store_values.my_ads_store.setShowAdForm).toHaveBeenCalledWith(true);
});
Expand Down

0 comments on commit 80f6814

Please sign in to comment.