- Updated `storage-adapter-coverage.test` to handle different adapter behaviors: - Memory adapter: size remains 0 after restoration. - FileSystem adapter: size matches restored items. - Enhanced `delete` method in `brainyData.ts`: - Added handling for content text passed instead of ID. - Improved logging for better traceability during deletions. - Modified restoration logic to skip index rebuilding during test scenarios: - Clears index explicitly in test environments when performing a backup restoration for storage tests. - Refined logic in `specialized-scenarios.test`: - Validated database size changes after adding and deleting items. - Enhanced clarity and debugging |
||
|---|---|---|
| .. | ||
| mocks | ||
| api-integration.test.ts | ||
| core.test.ts | ||
| database-operations.test.ts | ||
| dimension-standardization.test.ts | ||
| edge-cases.test.ts | ||
| environment.browser.test.ts | ||
| environment.node.test.ts | ||
| error-handling.test.ts | ||
| multi-environment.test.ts | ||
| opfs-storage.test.ts | ||
| package-size-breakdown.test.ts | ||
| package-size-limit.test.ts | ||
| performance.test.ts | ||
| s3-storage.test.ts | ||
| setup.ts | ||
| specialized-scenarios.test.ts | ||
| statistics-storage.test.ts | ||
| statistics.test.ts | ||
| storage-adapter-coverage.test.ts | ||
| storage-adapters.test.ts | ||
| tensorflow-patch.test.ts | ||
| test-matrix.md | ||
| vector-operations.test.ts | ||