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
|
|
@ -60,8 +60,8 @@ describe('Multi-process safety + read-only mode', () => {
|
|||
await expect(reader.add({ data: 'x', type: NounType.Concept })).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.addMany({ items: [] })).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.update({ id: 'x', data: 'y' })).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.delete('x')).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.deleteMany({ ids: ['x'] } as any)).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.remove('x')).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.removeMany({ ids: ['x'] } as any)).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.relate({ from: 'x', to: 'y' } as any)).rejects.toThrow(/read-only/i)
|
||||
await expect(reader.unrelate('x')).rejects.toThrow(/read-only/i)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue