Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI 0176de6faf Fix unit tests across packages - move tests alongside source files and ensure proper mocking
- Fixed unit test failures in database, rerank, data-source, stored-values, and test-utils packages
- Moved unit tests from tests/ folders to be alongside source files (e.g., slack.ts -> slack.test.ts)
- Ensured all unit tests use mocks instead of real dependencies
- Added DATABASE_URL environment variable to test:unit scripts where needed
- Fixed mock implementations and test assertions
- All 52 unit tests now pass successfully

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:22:02 +00:00
Devin AI 281ef4a1a7 Add remaining unit test files alongside source files in test-utils package
- Added unit tests for database helper functions
- Added unit tests for mock helpers and environment helpers
- All test files now follow the convention of being alongside their source files

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:13:57 +00:00