brainy/tests
David Snelling 1a502def11 **fix(storage): improve restoration and deletion logic in storage adapter**
- 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
2025-07-31 14:03:51 -07:00
..
mocks feat(tests): add robust mock implementations and expand test coverage for S3 and OPFS storage 2025-07-21 13:42:10 -07:00
api-integration.test.ts **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
core.test.ts **feat(scripts): add automated release workflow script** 2025-07-31 13:40:28 -07:00
database-operations.test.ts **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
dimension-standardization.test.ts **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
edge-cases.test.ts **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
environment.browser.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00
environment.node.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00
error-handling.test.ts **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
multi-environment.test.ts **feat(scripts): add automated release workflow script** 2025-07-31 13:40:28 -07:00
opfs-storage.test.ts **feat(core, storage, tests): enhance verb construction with timestamps and metadata** 2025-07-25 09:44:10 -07:00
package-size-breakdown.test.ts feat(tests): replace old test scripts with updated test suite for storage and reporting 2025-07-21 12:47:20 -07:00
package-size-limit.test.ts **feat(tests, docs, storage): add statistics storage tests and enhance documentation** 2025-07-24 16:24:02 -07:00
performance.test.ts **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
s3-storage.test.ts **test(storage): add tests for S3 change log functionality** 2025-07-31 10:22:47 -07:00
setup.ts **feat(core): enhance logging, storage options, and testing coverage** 2025-07-17 10:00:28 -07:00
specialized-scenarios.test.ts **fix(storage): improve restoration and deletion logic in storage adapter** 2025-07-31 14:03:51 -07:00
statistics-storage.test.ts **feat(tests, docs, storage): add statistics storage tests and enhance documentation** 2025-07-24 16:24:02 -07:00
statistics.test.ts **feat(scripts): add automated release workflow script** 2025-07-31 13:40:28 -07:00
storage-adapter-coverage.test.ts **fix(storage): improve restoration and deletion logic in storage adapter** 2025-07-31 14:03:51 -07:00
storage-adapters.test.ts feat(tests): replace old test scripts with updated test suite for storage and reporting 2025-07-21 12:47:20 -07:00
tensorflow-patch.test.ts **test(tests): add comprehensive test suite for Brainy functionality** 2025-07-15 11:56:16 -07:00
test-matrix.md **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
vector-operations.test.ts **feat(core, migration, docs): introduce dimension mismatch resolution tools and migration guide** 2025-07-25 13:38:56 -07:00