Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix: approach
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Feb 11, 2022
1 parent 2a448f8 commit 076b3e2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
Empty file added cypress/videos/.gitignore
Empty file.
Binary file removed cypress/videos/app.spec.js.mp4
Binary file not shown.
13 changes: 0 additions & 13 deletions src/components/__tests__/layout.test.tsx

This file was deleted.

12 changes: 12 additions & 0 deletions src/components/footer/__tests__/bottom.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { render, screen } from "@testing-library/react";
import { Bottom } from "../bottom";

describe("Bottom", () => {
it("renders copyright", async () => {
const copyright = "© République Française 2022";
render(
<Bottom copyright={copyright} links={[{ href: "/", title: "Yo" }]} />
);
expect(screen.getByText(copyright)).toBeDefined();
});
});

0 comments on commit 076b3e2

Please sign in to comment.