[fix] remove unnecessary afterEach (#5817)

## Summary

We didn't need the `afterEach` in this test.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5817-fix-remove-unnecessary-afterEach-27b6d73d3650814bb4f1c426c5b17a54)
by [Unito](https://www.unito.io)
This commit is contained in:
Arjan Singh
2025-09-27 09:36:41 -07:00
committed by GitHub
parent a519e681dd
commit 45f5ec15c2

View File

@@ -1,4 +1,4 @@
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
import { beforeEach, describe, expect, it, vi } from 'vitest'
import { nextTick, ref } from 'vue'
import type { VueNodeData } from '@/composables/graph/useGraphNodeManager'
@@ -71,10 +71,6 @@ describe('useNodePointerInteractions', () => {
vi.clearAllMocks()
})
afterEach(() => {
vi.restoreAllMocks()
})
it('should only start drag on left-click', async () => {
const mockNodeData = createMockVueNodeData()
const mockOnPointerUp = vi.fn()