1 | import "@testing-library/jest-dom";
|
2 | import React from "react";
|
3 | import { DropzoneLabel } from "../src";
|
4 |
|
5 | import { cleanup, fireEvent, render, screen } from "@testing-library/react";
|
6 |
|
7 | test("Validate label text must be 'Drop yor files here...'", () => {
|
8 | render(<DropzoneLabel> Drop yor files here...</DropzoneLabel>);
|
9 | expect(screen.getByText("Drop yor files here...")).toBeInTheDocument();
|
10 | });
|
11 | |
\ | No newline at end of file |