- Removed outdated test files: `test-tensorflow-import.cjs`, `test-tensorflow-import.js`, and `verify-package-size.js`. - Introduced `tests/package-size-breakdown.test.ts` to analyze included npm package files and validate their sizes. - Added comprehensive tests for storage adapters (`MemoryStorage`, `FileSystemStorage`, `OPFSStorage`, etc.) in `tests/storage-adapters.test.ts`. - Improved OPFS storage mocking and test coverage for browser and Node.js environments. - Introduced environment detection tests to ensure correct storage adapter selection. - Created `STORAGE_TESTING.md` to document storage architecture, test coverage, and guidelines for further improvements. Purpose: Modernize testing infrastructure and enhance storage system reliability through better test coverage and documentation. |
||
|---|---|---|
| .. | ||
| core.test.ts | ||
| environment.browser.test.ts | ||
| environment.node.test.ts | ||
| package-size-breakdown.test.ts | ||
| package-size-limit.test.ts | ||
| setup.ts | ||
| storage-adapters.test.ts | ||
| tensorflow-patch.test.ts | ||
| vector-operations.test.ts | ||