feat(test): add comprehensive test suite and testing infrastructure

- Add vitest configuration with coverage reporting
- Create test setup file with DOM mocks
- Add tests for state management, helpers, and tool configurations
- Update tsconfig and package.json for testing support
- Clean up unused comments and improve code style
This commit is contained in:
abdullahalam123 committed 2025-10-12 17:47:08 +05:30
1 parent 3e52545a6c
commit 5e72d7ca2d
17 files changed
+2274 -41

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
// FILE: js/ui.js
import { resetState } from './state.js';
import { formatBytes } from './utils/helpers.js';
import { tesseractLanguages } from './config/tesseract-languages.js';