import mockinstance

This commit is contained in:
Luna D. 2024-05-01 00:15:06 +02:00
parent 7119660451
commit 70cde5d4b2
No known key found for this signature in database
GPG key ID: 4B1C63448394F688

View file

@ -1,6 +1,7 @@
import { clearDragSource, initDraggables } from '../draggable';
import { fireEvent } from '@testing-library/dom';
import { getRandomArrayItem } from '../../../test/randomness';
import { MockInstance } from 'vitest';
describe('Draggable Utilities', () => {
// jsdom lacks proper support for window.DragEvent so this is an attempt at a minimal recreation