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
2025-10-12 17:47:08 +05:30
parent 3e52545a6c
commit 5e72d7ca2d
17 changed files with 2274 additions and 41 deletions

View File

@@ -12,5 +12,6 @@ export function resetState() {
state.files = [];
state.pdfDoc = null;
state.pdfPages = [];
state.currentPdfUrl = null;
document.getElementById('tool-content').innerHTML = '';
}