test(frontend): update test imports to lib/ path, configure vitest.config.ts and vitest.setup.ts

This commit is contained in:
parsa aghaei committed 2026-08-03 10:22:16 +03:30
1 parent 7e072793eb
commit cf5ab2030d
9 files changed
+1992 -37

No files matched your search

@@ -3,9 +3,9 @@ import { describe, it, expect, vi } from 'vitest';
import { render, screen, fireEvent } from '@testing-library/react';
import React from 'react';
import Tooltip from '../Tooltip';
import { useSettingsStore } from '../../store/settingsStore';
import { useSettingsStore } from '../../lib/store/settingsStore';
vi.mock('../../store/settingsStore', () => ({
vi.mock('../../lib/store/settingsStore', () => ({
useSettingsStore: vi.fn(),
}));