mirror of
https://github.com/barkeser2002/minecraft-data.git
synced 2026-11-24 06:26:15 +03:00
- 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>
26 lines
551 B
JSON
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"
|
|
}
|