Skip to content

Commit

Permalink
test: update jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Nov 22, 2023
1 parent 081a2d0 commit 88d9945
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/components/manage/Blocks/Group/Edit.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jest.mock('react-router-dom', () => ({
pathname: '/',
hash: '',
search: '',
state: undefined,
}),
}));

Expand Down
4 changes: 1 addition & 3 deletions src/components/manage/Blocks/Group/View.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jest.mock('react-router-dom', () => ({
pathname: '/',
hash: '',
search: '',
state: undefined,
}),
}));

Expand Down Expand Up @@ -77,10 +76,9 @@ describe('View', () => {
properties: { prop: 'erty' },
variation: {},
location: {
pathname: '/my-page',
pathname: '/',
search: '',
hash: '',
key: 'q5b96h',
},
};
render(<View {...props} />);
Expand Down

0 comments on commit 88d9945

Please sign in to comment.