brainy/tests
David Snelling ad4af27385 **test(tests): improve isolation and enhance test configuration**
- **Test Enhancements**:
  - Refactored test setup in `core.test.ts` for better isolation and clarity:
    - Added explicit `.clear()` calls to ensure clean state between tests.
    - Replaced old vector addition logic with simplified data insertion methods.
    - Updated search operations to reflect current functionality and debug-friendly output.
  - Introduced the `@vitest-environment jsdom` annotation in `environment.browser.test.ts` for accurate browser environment emulation.

- **Configuration Updates**:
  - Enhanced `vitest.config.ts`:
    - Introduced custom `reporters` for cleaner and focused test result presentation.
    - Expanded console log filtering with additional patterns for reducing noise from TensorFlow.js and setup processes.

- **Purpose**:
  - These updates improve test clarity, consistency, and robustness while streamlining the configuration to minimize distractions in test outputs.
2025-07-16 13:08:41 -07:00
..
core.test.ts **test(tests): improve isolation and enhance test configuration** 2025-07-16 13:08:41 -07:00
environment.browser.test.ts **test(tests): improve isolation and enhance test configuration** 2025-07-16 13:08:41 -07:00
environment.node.test.ts **test(tests): enhance test clarity, isolation, and robustness** 2025-07-16 11:39:53 -07:00
setup.ts **test(tests): enhance test clarity, isolation, and robustness** 2025-07-16 11:39:53 -07:00
tensorflow-patch.test.ts **test(tests): add comprehensive test suite for Brainy functionality** 2025-07-15 11:56:16 -07:00
vector-operations.test.ts **test(tests): enhance test clarity, isolation, and robustness** 2025-07-16 11:39:53 -07:00