From 70cde5d4b2e1a4617d99d288c3a13e3a4709ba42 Mon Sep 17 00:00:00 2001 From: "Luna D." Date: Wed, 1 May 2024 00:15:06 +0200 Subject: [PATCH] import mockinstance --- assets/js/utils/__tests__/draggable.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/utils/__tests__/draggable.spec.ts b/assets/js/utils/__tests__/draggable.spec.ts index e9e3daad..cda0598a 100644 --- a/assets/js/utils/__tests__/draggable.spec.ts +++ b/assets/js/utils/__tests__/draggable.spec.ts @@ -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