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) |
||
|---|---|---|
| .. | ||
| metadata-index-debug.test.ts | ||
| simple-vfs-filter-test.test.ts | ||
| vfs-isvfs-diagnostic.test.ts | ||
| vfs-multiple-init-diagnostic.test.ts | ||
| vfs-where-clause-test.test.ts | ||
| workshop-type-filtering-test.ts | ||