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
|
|
@ -611,8 +611,10 @@ describe('SmartExtractor', () => {
|
|||
|
||||
extractor.addToHistory('Test Entity', NounType.Person, vector)
|
||||
|
||||
// History is internal, just ensure no errors
|
||||
expect(true).toBe(true)
|
||||
// History lives on the embedding signal the extractor delegates to.
|
||||
const history = (extractor as any).embeddingSignal.historicalEntities
|
||||
expect(history).toHaveLength(1)
|
||||
expect(history[0].text).toBe('Test Entity')
|
||||
})
|
||||
|
||||
it('should clear history', () => {
|
||||
|
|
@ -621,8 +623,8 @@ describe('SmartExtractor', () => {
|
|||
|
||||
extractor.clearHistory()
|
||||
|
||||
// History cleared, no errors
|
||||
expect(true).toBe(true)
|
||||
const history = (extractor as any).embeddingSignal.historicalEntities
|
||||
expect(history).toHaveLength(0)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue