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
|
|
@ -188,7 +188,7 @@ describe('Clear Persistence Bug Fix (v5.10.4)', () => {
|
|||
// Verify data exists
|
||||
expect((await brain1.find({ type: 'person' })).length).toBe(1)
|
||||
expect((await brain1.find({ type: 'concept' })).length).toBe(1)
|
||||
expect((await brain1.getRelations({})).length).toBe(1)
|
||||
expect((await brain1.related({})).length).toBe(1)
|
||||
|
||||
// Clear
|
||||
await brain1.clear()
|
||||
|
|
@ -200,7 +200,7 @@ describe('Clear Persistence Bug Fix (v5.10.4)', () => {
|
|||
// Verify everything is cleared
|
||||
expect((await brain2.find({ type: 'person' })).length).toBe(0)
|
||||
expect((await brain2.find({ type: 'concept' })).length).toBe(0)
|
||||
expect((await brain2.getRelations({})).length).toBe(0)
|
||||
expect((await brain2.related({})).length).toBe(0)
|
||||
})
|
||||
|
||||
it('should handle clear() on empty storage', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue