Files
pos-system/apps/web-client/src/test/setup.ts
Ho Ngoc Hai c088de53c3 Update dependencies and enhance Tailwind CSS configuration for web applications
- Added new dependencies including clsx, lucide-react, recharts, and various Radix UI components to improve UI functionality.
- Upgraded Tailwind CSS to version 4.0.0 and updated configuration to utilize CSS variables for theming and responsive design.
- Introduced global styles and improved accessibility features in the layout and components.
- Removed outdated login page and refactored authentication store for better state management.
- Enhanced API service with additional authentication methods and improved error handling.

These changes aim to modernize the web applications and improve user experience through better design and functionality.
2026-01-02 09:41:40 +07:00

16 lines
401 B
TypeScript

/**
* EN: Test setup file for Vitest
* VI: File setup test cho Vitest
*
* This file runs before each test file
* File này chạy trước mỗi test file
*/
import { expect, afterEach } from 'vitest';
import { cleanup } from '@testing-library/react';
import '@testing-library/jest-dom/vitest';
// EN: Cleanup after each test / VI: Dọn dẹp sau mỗi test
afterEach(() => {
cleanup();
});