fix: update remaining UUID validation tests for v5.1.0 stricter validation

Fixed 5 more UUID validation tests (96.6% → 97.0% pass rate):
- get.test.ts: Updated invalid UUID tests to expect errors
- get.test.ts: Fixed very long ID test expectations
- get.test.ts: Fixed special characters and unicode ID tests
- Replaced custom IDs with valid UUID format

Test Results:
- Before: 1015/1051 passing (96.6%), 15 failures
- After: 1020/1051 passing (97.0%), 10 failures

Remaining 10 failures are non-critical edge cases (augmentations, custom IDs).
All critical systems passing: VFS (✓), COW (✓), Core (✓), Batch Ops (✓).
This commit is contained in:
David Snelling 2025-11-02 11:44:32 -08:00
parent 630661b589
commit 8f82a7d966
2 changed files with 25 additions and 28 deletions

View file

@ -371,7 +371,7 @@ describe('Brainy.update()', () => {
it('should preserve entity ID during update', async () => {
// Arrange
const customId = 'preserve-me-123'
const customId = '00000000-0000-0000-0000-000000000002'
await brain.add(createAddParams({
id: customId,
data: 'Test',