MCPcopy Create free account
hub / github.com/react-dropzone/react-dropzone / matchToErrorCode

Function matchToErrorCode

src/index.spec.js:2598–2599  ·  view source on GitHub ↗
(errorList, code)

Source from the content-addressed store, hash-verified

2596 (item) => !!files.find((file) => file.name === item.textContent)
2597 );
2598 const matchToErrorCode = (errorList, code) =>
2599 Array.from(errorList).every((item) => item.textContent === code);
2600
2601 const { container } = render(
2602 <Dropzone

Callers 1

index.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…