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
|
|
@ -146,7 +146,7 @@ describe('CRITICAL: Error Handling and Edge Cases', () => {
|
|||
)
|
||||
)
|
||||
|
||||
const deletes = ids.map(id => brainy.delete(id))
|
||||
const deletes = ids.map(id => brainy.remove(id))
|
||||
await Promise.all(deletes)
|
||||
|
||||
for (const id of ids) {
|
||||
|
|
@ -280,7 +280,7 @@ describe('CRITICAL: Error Handling and Edge Cases', () => {
|
|||
|
||||
expect(relId).toBeDefined()
|
||||
|
||||
const relations = await brainy.getRelations({ from: id })
|
||||
const relations = await brainy.related({ from: id })
|
||||
expect(relations.length).toBeGreaterThan(0)
|
||||
})
|
||||
|
||||
|
|
@ -371,7 +371,7 @@ describe('CRITICAL: Error Handling and Edge Cases', () => {
|
|||
type: 'entity'
|
||||
})
|
||||
|
||||
await brainy.delete(`cleanup-${i}`)
|
||||
await brainy.remove(`cleanup-${i}`)
|
||||
} catch {
|
||||
// Ignore errors
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue