JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25223
  • Score
    100M100P100Q155961F
  • License MIT

Test utils for react-beautiful-dnd buit with react-testing-library.

Package Exports

  • react-beautiful-dnd-test-utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-beautiful-dnd-test-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-beautiful-dnd-test-utils

Test utils for react-beautiful-dnd buit with react-testing-library.

Installation

This module is distributed via npm, which is bundled with node, and should be installed as one of your project's devDependencies:

npm install --save-dev react-beautiful-dnd-test-utils

jest, @testing-library/jest-dom/extend-expect and @testing-library/react must also be installed.

Usage

Currently supports moving a <Draggable /> n positions up or down inside a <Droppable />.

See an example test in the react-beautiful-dnd-test-utils-example repo.

License

MIT