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-parameter-validation.test.ts | ||
| azure-storage.test.ts | ||
| brainy-complete.integration.test.ts | ||
| brainy-core.integration.test.ts | ||
| brainy-phase1c-integration.test.ts | ||
| count-synchronization.test.ts | ||
| entity-confidence-weight.test.ts | ||
| find-unified-integration.test.ts | ||
| gcs-native-storage.test.ts | ||
| gcs-persistence-fix.test.ts | ||
| get-relations-fix.test.ts | ||
| hnsw-rebuild.test.ts | ||
| metadata-vector-exclusion.test.ts | ||
| phase3TypeFirstQuery.integration.test.ts | ||
| relationship-intelligence.test.ts | ||
| s3-storage.test.ts | ||
| smart-import.test.ts | ||
| typeAwareHNSW.integration.test.ts | ||
| typeInference.hybrid.integration.test.ts | ||
| typeInference.integration.test.ts | ||
| vfs-and-graph-entities.test.ts | ||
| vfs-debug.test.ts | ||
| vfs-import-verification.test.ts | ||
| vfs-knowledge-separation.test.ts | ||