Files
minecraft-data/.github/helper-bot/package.json
Romain BeaumontandClaude a87567a18a Refactor helper bot for testability and add comprehensive unit tests
- Extract and export testable functions from index.js
- Add graceful gh-helpers import with fallback mock
- Create comprehensive unit tests that import and test actual implementation
- Include tests for sanitizeVersion, buildFirstIssue, generateBranchName, createPRBody, createWorkflowDispatch functions
- Add integration tests for full workflow validation
- Set up proper test infrastructure with Mocha + Sinon and package.json
- Add .nyc_output to .gitignore to exclude test coverage cache

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 15:35:52 +02:00

26 lines
551 B
JSON

{
"name": "minecraft-data-helper-bot",
"version": "1.0.0",
"description": "Helper bot for minecraft-data automation",
"main": "index.js",
"scripts": {
"test": "mocha test/**/*.test.js",
"test:watch": "mocha test/**/*.test.js --watch",
"test:coverage": "nyc mocha test/**/*.test.js"
},
"devDependencies": {
"mocha": "^10.2.0",
"sinon": "^17.0.1",
"nyc": "^15.1.0"
},
"dependencies": {
"gh-helpers": "*"
},
"directories": {
"test": "test"
},
"keywords": [],
"author": "",
"license": "ISC"
}