🚀 Setup Jest for Unit Testing
Description
We need to add Jest to the project to ensure core functionality works correctly. This will help maintain stability and make it easier to safely update dependencies. The initial focus is on unit tests for the main parser functions and CLI output.
Tasks
Expected Outcome
- Core parsing functions are tested
- CLI output can be validated through unit/integration tests
- Automated test framework in place for future contributions
Additional Notes
- This is a unit test setup only; later we can expand coverage with more tests or snapshots
- Ensure tests are compatible with CI/CD workflows for Dependabot PRs
🚀 Setup Jest for Unit Testing
Description
We need to add Jest to the project to ensure core functionality works correctly. This will help maintain stability and make it easier to safely update dependencies. The initial focus is on unit tests for the main parser functions and CLI output.
Tasks
npm install --save-dev jest)package.json("test": "jest")tests/foldertests/errParser.test.js)execSyncnpm testExpected Outcome
Additional Notes