brainy/tests
David Snelling 5958502cf3 **test(tests): enhance test clarity, isolation, and robustness**
- **Test Improvements**:
  - Introduced data-clearing steps (`.clear()`) across critical test cases for ensuring better test isolation and preventing state leakage.
  - Extended support for overriding global utilities (`testUtils`) and added fallback behaviors for test vector creation.

- **Configuration Updates**:
  - Added support for `distanceFunction` as an alternative to `metric` in vector operations for consistency.
  - Adjusted and unified asynchronous `timeout` handling across test suites for predictability.

- **Purpose**:
  - These updates improve reliability, maintainability, and clarity in test cases while ensuring compatibility across diverse test environments.
2025-07-16 11:39:53 -07:00
..
core.test.ts **test(tests): enhance test clarity, isolation, and robustness** 2025-07-16 11:39:53 -07:00
environment.browser.test.ts **test(tests): enhance test clarity, isolation, and robustness** 2025-07-16 11:39:53 -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