Stage 3 taxonomy (v5.5.0) expanded from 31→42 noun types and 40→127 verb types but tests weren't updated. This fixes all test failures. FIXES: - typeUtils.test.ts: Update all hardcoded type indexes for new enum order - Document: index 6→13, Resource: index 30→34 - InstanceOf: index 0 (was RelatedTo), During: index 10 (was Creates) - Update round-trip loops: 31→42 nouns, 40→127 verbs - Fix Uint32Array test expectations - brainyTypes.ts: Add missing type descriptions for Stage 3 types - Added 11 new noun type descriptions (quality, timeInterval, function, etc.) - Add graceful handling for missing descriptions (prevents crash) TEST RESULTS: ✅ 46 test files passing (was 44 failing) ✅ 1147 tests passing (was 1136 failing) ✅ 100% pass rate restored Root cause: Tests had hardcoded expectations from pre-Stage-3 taxonomy. |
||
|---|---|---|
| .. | ||
| api | ||
| augmentations/intelligentImport | ||
| benchmarks | ||
| comprehensive | ||
| configs | ||
| fixtures/import | ||
| helpers | ||
| integration | ||
| manual | ||
| performance | ||
| scripts | ||
| unit | ||
| vfs | ||
| brainy-3.test.ts | ||
| critical-error-handling.test.ts | ||
| critical-neural-validation.test.ts | ||
| critical-performance-benchmark.test.ts | ||
| distributed-demo.test.ts | ||
| model-loading.test.ts | ||
| opfs-storage.test.ts | ||
| package-size-breakdown.test.ts | ||
| package-size-limit.test.ts | ||
| setup-integration.ts | ||
| setup-unit.ts | ||
| setup.ts | ||
| streaming-pipeline.test.ts | ||
| type-utils.test.ts | ||
| typeAwareHNSWIndex.test.ts | ||
| typeAwareQueryPlanner.test.ts | ||