Add comprehensive test suite (35 tests) and update journal
- Create test/ folder with 5 test modules (35 tests total)
  * db.test.js: Database operations (5 tests)
  * mcp-tools.test.js: Tool definitions (11 tests)
  * mcp-handlers.test.js: Handler implementation (6 tests)
  * llama-client.test.js: LLama API integration (9 tests)
  * integration.test.js: End-to-end workflows (4 tests)
- Add test/setup.js: Shared test utilities
- Add test/README.md: Test documentation
- Update package.json: Add test scripts (7 variants)
- Update journals/20260206-0000-案件.md: Document test implementation
- All 35 tests passing (139 expect calls)
1 parent 69f994a commit 0ed02c517974969dfc2930a2e5aff0a0b2c28117
@楽曲作りまくりおじさん 楽曲作りまくりおじさん authored 8 days ago
Showing 13 changed files
View
document/overview.md
View
journals/20260206-0000-案件.md 0 → 100644
View
package.json
View
src/db.js
View
src/mcp-handlers.js
View
src/mcp-tools.js
View
test/README.md 0 → 100644
View
test/db.test.js 0 → 100644
View
test/integration.test.js 0 → 100644
View
test/llama-client.test.js 0 → 100644
View
test/mcp-handlers.test.js 0 → 100644
View
test/mcp-tools.test.js 0 → 100644
View
test/setup.js 0 → 100644