Merge pull request #5 from philomena-dev/master

import mockinstance
This commit is contained in:
Chaska 2024-05-01 12:53:12 -05:00 committed by GitHub
commit f986bbaa88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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