Skip to content

Commit

Permalink
ENH:modifies tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Charvit123 committed Jun 13, 2023
1 parent 48dfec0 commit ebfde6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions admin/src/components/utilities/SignInForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe("Sign In Form", () => {
expect(signInEmailError.innerHTML).toEqual("email is required");
});

test("signin email must be an incubyte email", async () => {
test("signin email must be an incubyte domain", async () => {
render(
<BrowserRouter>
<SignInForm handleFormSubmit={handleFormSubmit} />
Expand All @@ -75,7 +75,7 @@ describe("Sign In Form", () => {
});
expect(signInEmailError).toBeInTheDocument();
expect(signInEmailError.innerHTML).toEqual(
"email must be an incubyte email"
"email must be with incubyte domain"
);
});
});
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/utilities/SignInForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe("Sign In Form", () => {
expect(signInEmailError.innerHTML).toEqual("email is required");
});

test("signin email must be an incubyte email", async () => {
test("signin email must be an incubyte domain", async () => {
render(
<BrowserRouter>
<SignInForm handleFormSubmit={handleFormSubmit} />
Expand All @@ -75,7 +75,7 @@ describe("Sign In Form", () => {
});
expect(signInEmailError).toBeInTheDocument();
expect(signInEmailError.innerHTML).toEqual(
"email must be an incubyte email"
"email must be with incubyte domain"
);
});
});
Expand Down

0 comments on commit ebfde6c

Please sign in to comment.