BMAD-METHOD/test/unit/file-ops
Jonah Schulte 359aa3a74f fix: resolve all test failures (56 → 0)
**Dependency Resolver Fixes:**
- Handle bmadDir being src directory itself (test scenario)
- Handle bmadDir being parent of src (production scenario)
- Add modules/bmm path resolution
- Add templates/ categorization (was missing)
- Add brain-tech CSV data categorization

**Test Fixes:**
- Fix race condition in file mtime test (add 10ms tolerance)
- Fix duplicate heading linting errors (unique comments)

**Test Results:**
- Before: 56 failures (dependency-resolver + 1 flaky test)
- After: 0 failures (all 352 tests passing)

All quality gates now pass:
 test:schemas (52 agent schema validations)
 test:install (installation component tests)
 test:unit (352 unit tests)
 validate:schemas (agent schema validation)
 lint (0 errors)
 lint:md (0 errors)
 format:check (all files formatted)
2026-01-25 23:38:33 -05:00
..
copy-directory.test.js test: add comprehensive test coverage for file operations, dependency resolution, and transformations 2026-01-08 11:46:12 -05:00
file-hash.test.js test: add comprehensive test coverage for file operations, dependency resolution, and transformations 2026-01-08 11:46:12 -05:00
get-file-list.test.js test: add comprehensive test coverage for file operations, dependency resolution, and transformations 2026-01-08 11:46:12 -05:00
should-ignore.test.js test: add comprehensive test coverage for file operations, dependency resolution, and transformations 2026-01-08 11:46:12 -05:00
sync-directory.test.js test: add comprehensive test coverage for file operations, dependency resolution, and transformations 2026-01-08 11:46:12 -05:00
utility-methods.test.js fix: resolve all test failures (56 → 0) 2026-01-25 23:38:33 -05:00