Skip to content

Commit 220e4f4

Browse files
committed
feat: implement coderabbit review
1 parent 25e0c02 commit 220e4f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__tests__/components/sections/homepage/_partials/CommunityStats.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("CommunityStats", () => {
1818
expect(screen.getByText(stat.title)).toBeInTheDocument();
1919
expect(screen.getByText(stat.title).textContent).toBe(stat.title.toString());
2020
expect(screen.getByText(stat.description)).toBeInTheDocument();
21-
expect(screen.getByText(stat.description).textContent).toBe((stat.title + " " + stat.description).toString());
21+
expect(screen.getByText(stat.description).textContent).toBe(`${stat.title} ${stat.description}`);
2222
});
2323
});
2424

__tests__/components/sections/homepage/_partials/Stories.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import "@testing-library/jest-dom";
33
import { render, screen } from "@testing-library/react";
44
import _ from "lodash";
55

6-
export const fixtureTestimonials = {
6+
const fixtureTestimonials = {
77
content: "testimonials content",
88
icon: "/testimonials-icon",
99
};

0 commit comments

Comments
 (0)