Fixed tests to correctly use brain.add() return value: - brain.add() returns string (entity ID), not Entity object - Updated tests to use knowledgeId instead of knowledgeEntity.id - Simple VFS filter test now passing (demonstrates filtering works) - 3/5 integration tests passing Verified working: ✅ brain.find() excludes VFS by default ✅ brain.find({ includeVFS: true }) includes VFS ✅ Type queries (Document, Collection) filter correctly ✅ Where clause with isVFS works ✅ VFS-knowledge relationships work Note: Semantic search tests still failing (Buffer embedding issue) |
||
|---|---|---|
| .. | ||
| 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 | ||