From d17d894f398650209c0ddd29502308de8c07bd93 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 27 Sep 2023 18:43:25 +0200
Subject: feat(components): add Article, Aside, Footer, Header, Main & Nav

Some components have been renamed to be able to create Footer, Header
and Nav.
---
 src/components/organisms/layout/footer.test.tsx | 34 -------------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 src/components/organisms/layout/footer.test.tsx

(limited to 'src/components/organisms/layout/footer.test.tsx')

diff --git a/src/components/organisms/layout/footer.test.tsx b/src/components/organisms/layout/footer.test.tsx
deleted file mode 100644
index 51f21fb..0000000
--- a/src/components/organisms/layout/footer.test.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-import { describe, expect, it } from '@jest/globals';
-import { render, screen } from '../../../../tests/utils';
-import { Footer, type FooterProps } from './footer';
-
-const copyright: FooterProps['copyright'] = {
-  dates: { start: '2017', end: '2022' },
-  owner: 'Lorem ipsum',
-  icon: 'CC',
-};
-
-const navItems: FooterProps['navItems'] = [
-  { id: 'legal-notice', href: '#', label: 'Legal notice' },
-];
-
-describe('Footer', () => {
-  it('renders the website copyright', () => {
-    render(<Footer copyright={copyright} topId="top" />);
-    expect(screen.getByText(copyright.owner)).toBeInTheDocument();
-  });
-
-  it('renders a back to top link', () => {
-    render(<Footer copyright={copyright} topId="top" />);
-    expect(
-      screen.getByRole('link', { name: 'Back to top' })
-    ).toBeInTheDocument();
-  });
-
-  it('renders some nav items', () => {
-    render(<Footer copyright={copyright} navItems={navItems} topId="top" />);
-    expect(
-      screen.getByRole('link', { name: navItems[0].label })
-    ).toBeInTheDocument();
-  });
-});
-- 
cgit v1.2.3

