diff --git a/src/components/global/Footer/index.module.scss b/src/components/global/Footer/index.module.scss index a34c698..e9cc03e 100644 --- a/src/components/global/Footer/index.module.scss +++ b/src/components/global/Footer/index.module.scss @@ -6,16 +6,8 @@ .group { width: 100%; height: 113px; - display: flex; - flex-direction: column-reverse; - align-items: center; - justify-content: center; - gap: 16px; @include desktop { height: 100px; - flex-direction: row; - justify-content: space-between; - gap: 0; } } diff --git a/src/components/global/Footer/index.test.tsx b/src/components/global/Footer/index.test.tsx new file mode 100644 index 0000000..0389b80 --- /dev/null +++ b/src/components/global/Footer/index.test.tsx @@ -0,0 +1,42 @@ +import type { ReactNode } from 'react'; + +import { render, screen } from '@testing-library/react'; + +import Footer from './index'; + +vi.mock('@/components/atoms/Layout', () => ({ + default: ({ children }: { children: ReactNode }) => ( +
{children}
+ ), +})); + +vi.mock('@/components/molecules/SocialIconLink', () => ({ + default: ({ type, url }: { type: string; url: string }) => ( + {type} + ), +})); + +describe('Footer', () => { + it('renders the footer copyright and social links', () => { + render(