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
|
|
@ -309,7 +309,7 @@ describe('Enhanced CRUD Operations - Public API Validation', () => {
|
|||
|
||||
// Delete all entities
|
||||
for (const id of ids) {
|
||||
await brainy.delete(id)
|
||||
await brainy.remove(id)
|
||||
}
|
||||
|
||||
if (global.gc) global.gc()
|
||||
|
|
@ -612,7 +612,7 @@ describe('Enhanced CRUD Operations - Public API Validation', () => {
|
|||
})
|
||||
|
||||
const startTime = metricsCollector.startOperation('delete-single')
|
||||
const result = await brainy.delete(id)
|
||||
const result = await brainy.remove(id)
|
||||
metricsCollector.endOperation('delete-single', 1, startTime)
|
||||
|
||||
expect(result).toBe(true)
|
||||
|
|
@ -633,7 +633,7 @@ describe('Enhanced CRUD Operations - Public API Validation', () => {
|
|||
|
||||
const startTime = metricsCollector.startOperation('delete-bulk', ids.length)
|
||||
const results = await Promise.all(
|
||||
ids.map(id => brainy.delete(id))
|
||||
ids.map(id => brainy.remove(id))
|
||||
)
|
||||
metricsCollector.endOperation('delete-bulk', ids.length, startTime)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue