Skip to content

Commit

Permalink
Create Textarea.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed Oct 26, 2023
1 parent 93be022 commit 21cf092
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/tests/input-elements/Textarea.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { render } from "@testing-library/react";
import { Textarea } from "components";
import React from "react";

describe("Texarea", () => {
test("renders the Texarea component with default props", () => {
render(
<Textarea defaultValue="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus tempor lorem non est congue blandit. Praesent non lorem sodales, suscipit est sed, hendrerit dolor." />,
);
});
});

0 comments on commit 21cf092

Please sign in to comment.