How to use the react-dnd-test-backend.getInstance function in react-dnd-test-backend

To help you get started, we’ve selected a few react-dnd-test-backend examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github react-dnd / react-dnd / packages / testing / test-utils / src / utils.tsx View on Github external
export function getBackendFromInstance(
	instance: DndComponent,
): T {
	return getInstance() as any


A mock backend for testing React DnD apps

Latest version published 2 years ago

Package Health Score

73 / 100
Full package analysis

Popular react-dnd-test-backend functions