This repository has been archived on 2026-09-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
open-brainy/tests/manual
David Snelling 970f2437d4 test: fix brain.add() return type usage in VFS tests
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)
2025-10-24 11:50:36 -07:00
..
metadata-index-debug.test.ts feat: brain.find() excludes VFS by default (Option 3C) 2025-10-24 11:42:47 -07:00
simple-vfs-filter-test.test.ts test: fix brain.add() return type usage in VFS tests 2025-10-24 11:50:36 -07:00
vfs-isvfs-diagnostic.test.ts feat: brain.find() excludes VFS by default (Option 3C) 2025-10-24 11:42:47 -07:00
vfs-multiple-init-diagnostic.test.ts feat: brain.find() excludes VFS by default (Option 3C) 2025-10-24 11:42:47 -07:00
vfs-where-clause-test.test.ts test: update VFS where clause tests for correct field names 2025-10-24 11:13:46 -07:00
workshop-type-filtering-test.ts feat: brain.find() excludes VFS by default (Option 3C) 2025-10-24 11:42:47 -07:00