chore(8.0): final pre-RC1 sweep — API consistency, named errors, orphans, zero-cast codebase
This commit is contained in:
parent
970e08c466
commit
1f7e365a4e
237 changed files with 1951 additions and 49413 deletions
|
|
@ -413,7 +413,7 @@ describe('HNSW Index Rebuild (Integration Tests)', () => {
|
|||
|
||||
// Verify all indexes work
|
||||
const searchResults = await brain1.find({ query: 'engineer', limit: 5 })
|
||||
const relations = await brain1.getRelations({ from: alice })
|
||||
const relations = await brain1.related({ from: alice })
|
||||
const metadataResults = await brain1.find({ where: { role: 'engineer' } })
|
||||
|
||||
expect(searchResults.length).toBeGreaterThan(0)
|
||||
|
|
@ -450,7 +450,7 @@ describe('HNSW Index Rebuild (Integration Tests)', () => {
|
|||
console.log('✅ HNSW index operational')
|
||||
|
||||
// 2. Graph Adjacency Index (Bug #1 fix)
|
||||
const relations2 = await brain2.getRelations({ from: alice })
|
||||
const relations2 = await brain2.related({ from: alice })
|
||||
expect(relations2.length).toBe(relations.length)
|
||||
console.log('✅ Graph index operational')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue