MCPcopy Create free account
hub / github.com/react-dropzone/react-dropzone / index.spec.js

File index.spec.js

src/index.spec.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* eslint react/prop-types: 0, jsx-a11y/label-has-for: 0 */
2import React, { createRef } from "react";
3import { act, cleanup, fireEvent, render } from "@testing-library/react";
4import { renderHook } from "@testing-library/react-hooks";

Callers

nothing calls this directly

Calls 14

useDropzoneFunction · 0.90
createDtWithFilesFunction · 0.85
drainPendingTimersFunction · 0.85
focusWindowFunction · 0.85
createThenableFunction · 0.85
getAcceptedFilesFunction · 0.85
matchToFilesFunction · 0.85
getRejectedFilesFunction · 0.85
getRejectedFilesErrorsFunction · 0.85
matchToErrorCodeFunction · 0.85

Tested by

no test coverage detected