fix: stabilize reveals and update contact email
This commit is contained in:
1 parent
aad56ad885
commit
cdde81eb6e
22 files changed
+144
-40
No files matched your search
@@ -13,7 +13,7 @@ describe("Footer Component - Contact Information", () => {
|
||||
it("should render email address", () => {
|
||||
render(<Footer />);
|
||||
|
||||
const emailLink = screen.getByText("evandro@dev.br");
|
||||
const emailLink = screen.getByText("evandro[email protected]");
|
||||
expect(emailLink).toBeInTheDocument();
|
||||
expect(emailLink.tagName).toBe("A");
|
||||
});
|
||||
@@ -21,14 +21,17 @@ describe("Footer Component - Contact Information", () => {
|
||||
it("should have mailto link for email", () => {
|
||||
render(<Footer />);
|
||||
|
||||
const emailLink = screen.getByText("evandro@dev.br");
|
||||
expect(emailLink).toHaveAttribute("href", "mailto:[email protected]");
|
||||
const emailLink = screen.getByText("evandro[email protected]");
|
||||
expect(emailLink).toHaveAttribute(
|
||||
"href",
|
||||
"mailto:[email protected]",
|
||||
);
|
||||
});
|
||||
|
||||
it("should apply correct styling classes to email link", () => {
|
||||
render(<Footer />);
|
||||
|
||||
const emailLink = screen.getByText("evandro@dev.br");
|
||||
const emailLink = screen.getByText("evandro[email protected]");
|
||||
const classes = emailLink.className;
|
||||
|
||||
expect(classes).toContain("text-[12px]");
|
||||
|
||||
Reference in new issue
Block a user