This directory contains unit and integration tests for the application.
unit/- Unit tests for individual modulesintegration/- Integration tests for component interactions
To run tests, you can use a testing framework like Jest or Mocha. For now, tests can be run in the browser or with Node.js.
- Open the test HTML files in a browser
- Check the console for test results
- Install a testing framework:
npm install --save-dev jest - Run tests:
npm test
The test suite covers:
- Data processing functionality
- GitHub API interactions
- Chart generation
- File handling
- Configuration management
- UI interactions
Test data includes:
- Mock Git repository data
- Sample commit histories
- GitHub API response samples