aboutsummaryrefslogtreecommitdiffstats
path: root/__tests__/jest/components/Copyright.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to '__tests__/jest/components/Copyright.test.tsx')
-rw-r--r--__tests__/jest/components/Copyright.test.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/__tests__/jest/components/Copyright.test.tsx b/__tests__/jest/components/Copyright.test.tsx
new file mode 100644
index 0000000..5f6f287
--- /dev/null
+++ b/__tests__/jest/components/Copyright.test.tsx
@@ -0,0 +1,14 @@
+import Copyright from '@components/Copyright/Copyright';
+import { render, screen } from '@test-utils';
+import '../__mocks__/matchMedia.mock';
+
+describe('Copyright', () => {
+ it('renders the Copyright component', () => {
+ render(<Copyright />);
+ });
+
+ it('displays author name', () => {
+ render(<Copyright />);
+ expect(screen.getByText('Armand Philippot')).toBeInTheDocument();
+ });
+});