Skip to content

Commit

Permalink
puse mal mi matricula en las pruebas, no me odien
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseCSG committed Jun 15, 2024
1 parent ff21f00 commit a70ff85
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions test/FormTextInput.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,31 +56,31 @@ describe("FormTextInput Component", () => {
});

describe("FormTextInput Component Test", () => {
// José Carlos Sánchez Gómez A01745810 - Test #1/10
// José Carlos Sánchez Gómez A01174050 - Test #1/10
it("Should render input", () => {
render(<FormTextInput name="name" type="text" label="Name" />);
expect(screen.getByTestId("name")).toBeInTheDocument();
});

// José Carlos Sánchez Gómez A01745810 - Test #2/10
// José Carlos Sánchez Gómez A01174050 - Test #2/10
it("Should render label", () => {
render(<FormTextInput name="name" type="text" label="Name" />);
expect(screen.getByText("Name")).toBeInTheDocument();
});

// José Carlos Sánchez Gómez A01745810 - Test #3/10
// José Carlos Sánchez Gómez A01174050 - Test #3/10
it("Should render password input", () => {
render(<FormTextInput name="password" type="password" label="Password" />);
expect(screen.getByTestId("password")).toBeInTheDocument();
});

// José Carlos Sánchez Gómez A01745810 - Test #4/10
// José Carlos Sánchez Gómez A01174050 - Test #4/10
it("Should render password label", () => {
render(<FormTextInput name="password" type="password" label="Password" />);
expect(screen.getByText("Password")).toBeInTheDocument();
});

// José Carlos Sánchez Gómez A01745810 - Test #5/10
// José Carlos Sánchez Gómez A01174050 - Test #5/10
it("Should toggle password input", () => {
render(<FormTextInput name="password" type="password" label="Password" />);
expect(screen.getByText("Show")).toBeInTheDocument();
Expand Down
6 changes: 3 additions & 3 deletions test/ProjectCard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ vi.mock("@/services/project", () => {
});

describe("ProjectCard Component Test", () => {
// José Carlos Sánchez Gómez A01745810 - Test #7/10
// José Carlos Sánchez Gómez A01174050 - Test #7/10
it("Should render the project card", async () => {
const component = await ProjectCard({
id: 1,
Expand All @@ -40,7 +40,7 @@ describe("ProjectCard Component Test", () => {
expect(projectCard).toBeInTheDocument();
});

// José Carlos Sánchez Gómez A01745810 - Test #8/10
// José Carlos Sánchez Gómez A01174050 - Test #8/10
it("Should render all the coworkers", async () => {
const component = await ProjectCard({
id: 1,
Expand All @@ -56,7 +56,7 @@ describe("ProjectCard Component Test", () => {
});
});

// José Carlos Sánchez Gómez A01745810 - Test #9/10
// José Carlos Sánchez Gómez A01174050 - Test #9/10
it("Should render all the properties", async () => {
const component = await ProjectCard({
id: 1,
Expand Down
2 changes: 1 addition & 1 deletion test/Searchbar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { render } from "@testing-library/react";
import { describe, it } from "vitest";

describe("Searchbar Component Test", () => {
// José Carlos Sánchez Gómez A01745810 - Test #10/10
// José Carlos Sánchez Gómez A01174050 - Test #10/10
it("Should be rendered on the screen", () => {
render(<SearchBar placeholder="Prueba" />);
});
Expand Down
2 changes: 1 addition & 1 deletion test/services/notifications.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ vi.mock("drizzle-orm", () => ({
isNull: vi.fn(),
}));

// José Carlos Sánchez Gómez A01745810 - Test #6/10
// José Carlos Sánchez Gómez A01174050 - Test #6/10
describe("getNotifications", () => {
it("should return notifications", async () => {
const notifications = await getNotifications();
Expand Down

0 comments on commit a70ff85

Please sign in to comment.