Skip to content

Commit

Permalink
fix: fix (deriv-com#16797)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadtaimoor-deriv authored Sep 11, 2024
1 parent 9841da7 commit ee05e6e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ describe('Trade', () => {

it('should not render Purchase Button if is_market_closed === true', () => {
default_mock_store.modules.trade.is_market_closed = true;
render(mockTrade());

mockTrade();
expect(screen.queryByText('Purchase Button')).not.toBeInTheDocument();
});
});

0 comments on commit ee05e6e

Please sign in to comment.