Skip to content

Commit

Permalink
chore: fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ameerul-deriv committed Aug 10, 2023
1 parent 742630b commit 2118086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/p2p/src/components/app-content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ const AppContent = ({ order_id }) => {
<div label={localize('My ads')}>
<TemporarilyBarredHint />
</div>
<div label={localize('My profile')}>
<MyProfile />
</div>
<div label={localize('My profile')} />
</Tabs>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jest.mock('../my-profile-stats/my-profile-details-container', () =>
);
jest.mock('../my-profile-header', () => jest.fn(() => <div>MyProfileHeader</div>));

describe('<my-profile.spec />', () => {
describe('<MyProfile />', () => {
it('should show the verification page if is_advertiser is false', () => {
render(<MyProfile />);

Expand Down

0 comments on commit 2118086

Please sign in to comment.