Files
timeline-svg/package.json
tegwick cf86b45b93 test: improve test infrastructure and fix test assertions
- Add mockPapaParse helper to centralize CSV mocking
- Fix test assertions to match actual output (German month names)
- Add missing DOM elements to test setup (projectFile, csvFile, etc.)
- Update vitest to v4.0.14 for improved testing capabilities
- Make setupEventHandlers globally accessible for testing
- Use textContent instead of innerText for better consistency
- Fix autoLoadDefaultProject test to check all three fallback paths
- Add proper event handler setup in integration tests
- Improve error handling test assertions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 08:59:23 +01:00

28 lines
609 B
JSON

{
"name": "timeline-svg-generator",
"version": "1.0.0",
"description": "Browser-based system for generating multi-lane timelines as SVG graphics",
"type": "module",
"scripts": {
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"test:ui": "vitest --ui"
},
"devDependencies": {
"@vitest/coverage-v8": "^4.0.14",
"@vitest/ui": "^4.0.14",
"jsdom": "^25.0.0",
"vitest": "^4.0.14"
},
"keywords": [
"timeline",
"svg",
"visualization",
"project-management",
"gantt"
],
"author": "",
"license": "MIT"
}