Skip to content

Commit

Permalink
Reactor: 테스트파일 이름 index.test.tsx로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
pp449 committed Apr 9, 2023
1 parent 428a9c8 commit 2d272c7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ describe('하단 탭 아이콘 클릭 테스트', () => {
const { location } = window;
window.location = { ...location, href: '' };

const urls = ['/map', '/', '/my'];
icons.forEach(async (icon, index) => {
await userEvent.click(icon);

const urls = ['/map', '/', '/my'];

expect(window.location.href).toBe(urls[index]);
});

Expand Down

0 comments on commit 2d272c7

Please sign in to comment.