Commit Graph

90 Commits

Author SHA1 Message Date
bc2c24bcff more refactor
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2025-12-21 20:34:32 -08:00
9d5fea19b2 large mock refector hopefully done + no errors?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h17m3s
2025-12-21 10:47:58 -08:00
c49e5f7019 large mock refector hopefully done + no errors?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h13m59s
2025-12-21 02:43:03 -08:00
56981236ab ensure mocks are used wherever possible, more test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h7m5s
2025-12-20 15:33:08 -08:00
a3d3ddd772 mock mock mock !
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 57m50s
2025-12-19 20:31:04 -08:00
68ee9a4663 MORE UNIT TESTS - approc 94% before - 96% now?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 53m9s
2025-12-18 20:09:04 -08:00
7a557b5648 unit test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 44m36s
2025-12-18 15:35:02 -08:00
c623cddfb5 MORE UNIT TESTS - approc 90% before - 95% now?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 45m25s
2025-12-17 20:57:28 -08:00
d3ad50cde6 one moar time - we can do it?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 32m32s
2025-12-17 04:49:01 -08:00
c533521021 Refactor: Improve test structure and mock implementations across multiple test files
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 7m21s
2025-12-15 03:44:57 -08:00
e00f33fd60 Refactor: Update test files to improve mock structure and remove unused imports
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 6m51s
2025-12-15 01:48:32 -08:00
066933ff6d Refactor: Update FlyerCountDisplay tests to use useFlyers hook and FlyersProvider
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 7m0s
2025-12-15 00:19:51 -08:00
9757f9dd9f Refactor MainLayout to use new hooks for flyers and master items; consolidate error handling
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
Update error handling tests to ensure proper status assignment for errors
2025-12-14 11:05:04 -08:00
571ca59e82 refactor: Update tests and components for improved type safety and mock handling
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 3h11m16s
2025-12-14 01:38:21 -08:00
f891da687b Refactor tests to use mockClient for database interactions, improve error handling, and enhance modal functionality
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
- Updated personalization.db.test.ts to use mockClient for query calls in addWatchedItem tests.
- Simplified error handling in shopping.db.test.ts, ensuring clearer error messages.
- Added comprehensive tests for VoiceAssistant component, including rendering and interaction tests.
- Introduced useModal hook with tests to manage modal state effectively.
- Created deals.db.test.ts to test deals repository functionality with mocked database interactions.
- Implemented error handling tests for custom error classes in errors.db.test.ts.
- Developed googleGeocodingService.server.test.ts to validate geocoding service behavior with mocked fetch.
2025-12-14 01:12:33 -08:00
77454b04c2 Add comprehensive tests for hooks, middleware, and routes
Some checks are pending
Deploy to Test Environment / deploy-to-test (push) Has started running
- Implement tests for `useFlyers`, `useMasterItems`, `useModal`, `useUserData` hooks to ensure correct functionality and error handling.
- Create tests for `fileUpload.middleware` and `validation.middleware` to validate file uploads and request data.
- Add tests for `AddressForm` and `AuthView` components to verify rendering, user interactions, and API calls.
- Develop tests for `deals.routes` to check authentication and response for best prices on watched items.
2025-12-13 21:30:43 -08:00
728f4a5f7e Refactor useWatchedItems hook to utilize useApi for API calls, update tests accordingly
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 18m15s
- Replaced direct API calls in useWatchedItems with useApi hook for add and remove watched items.
- Updated tests for useWatchedItems to mock useApi and verify API interactions.
- Consolidated error handling for API calls in useWatchedItems.
- Adjusted related hooks and components to ensure compatibility with the new structure.
- Added new ScaleIcon component for UI consistency.
- Implemented useFlyerItems and useFlyers hooks for fetching flyer data.
- Created useMasterItems and useUserData hooks for managing master grocery items and user data.
- Developed useInfiniteQuery hook for handling paginated API responses.
- Added comprehensive tests for useApi and useInfiniteQuery hooks.
- Introduced comparePrices API endpoint and corresponding client-side functionality.
2025-12-13 08:57:15 -08:00
5d7598eadf unit test fixes + error refactor
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 12m45s
2025-12-11 20:26:34 -08:00
0bc65574c2 unit test fixes + error refactor
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 10m52s
2025-12-11 18:23:59 -08:00
6aa72dd90b unit test fixin
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 8m50s
2025-12-11 00:53:24 -08:00
b929925a6e lots more tests !
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 7m32s
2025-12-10 21:02:01 -08:00
8d12f744bc main page improvements
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 8m2s
2025-12-10 12:42:07 -08:00
88fdb9886f many fixes resulting from latest refactoring
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m41s
2025-12-09 00:05:54 -08:00
c1a032d5e6 many fixes resultnig from latest refactoring
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m46s
2025-12-08 23:07:50 -08:00
e156c385a5 many fixes resultnig from latest refactoring
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m11s
2025-12-08 22:12:04 -08:00
0eda796fad App.tsx refactor + even more unit tests
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 8m28s
2025-12-08 12:18:46 -08:00
5c214fb6f4 Refactor tests and services for improved type safety and error handling
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m24s
- Updated FlyerCorrectionTool tests to remove unused error notification.
- Enhanced ProfileManager tests and component to include points in user profile.
- Fixed error handling in ProfileManager to correctly log error messages.
- Adjusted AI routes tests to ensure proper mocking and added missing properties in mock responses.
- Refined AI routes to improve error message extraction and payload handling.
- Cleaned up gamification routes tests by removing unnecessary parameters.
- Simplified public routes by removing unused parameters in async handlers.
- Improved system routes tests to handle exec command callbacks more robustly.
- Updated user routes tests to remove unnecessary middleware parameters.
- Enhanced AI API client tests to use File objects for simulating uploads.
- Modified AI service tests to improve type safety and mock implementations.
- Refined database service tests to ensure proper type assertions and mock setups.
- Updated express type definitions for better clarity and organization.
- Cleaned up notification service tests to mock local re-exports instead of library directly.
2025-12-04 12:46:12 -08:00
2026cb1584 refactor: clean up imports and improve error messages across multiple components
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m28s
2025-12-04 10:58:08 -08:00
e63999694a added address table, super awesome - bunch of gitea workflow options - "Processed Flyers" made better
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 1m1s
2025-12-03 19:34:47 -08:00
8f78854d94 splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m54s
2025-11-30 23:26:17 -08:00
0e5bb3c31d splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m44s
2025-11-30 21:10:36 -08:00
bdc6b60b26 splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m54s
2025-11-30 20:51:44 -08:00
c3e3eb907c go 2025-11-30 19:37:47 -08:00
0f0836e346 splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m53s
2025-11-30 19:05:14 -08:00
e6c09e9c20 splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m19s
2025-11-30 18:43:04 -08:00
ee74f396a8 splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m10s
2025-11-30 18:25:57 -08:00
e9f555a404 splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m40s
2025-11-30 18:08:30 -08:00
2842abdca7 fix image saving + new icon
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m55s
2025-11-30 01:44:32 -08:00
f7edb946f7 more TS fixes + tests
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m40s
2025-11-30 00:27:21 -08:00
e8a8beb4cb more TS fixes + tests
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m4s
2025-11-29 16:39:36 -08:00
399243c6a0 m,ore TS fixes + tests
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 2m40s
2025-11-29 15:43:39 -08:00
bb2ad6ce1a acheivments + flyercorrection
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 2m18s
2025-11-29 14:54:49 -08:00
753c675d9f acheivments + flyercorrection
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 2m18s
2025-11-29 13:35:10 -08:00
bf0bf9ae21 testing routes
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 2m23s
2025-11-29 05:29:38 -08:00
9e5c2047f7 testing routes
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 3m38s
2025-11-29 03:26:47 -08:00
a301659d39 ts fixes from reorg + unit test work
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 1m5s
2025-11-25 13:22:12 -08:00
2fdc29e8e8 ts fixes from reorg
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 55s
2025-11-25 12:56:21 -08:00
7795ce1725 ts fixes from reorg
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 52s
2025-11-25 12:37:30 -08:00
8968813ee0 file re-org
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 53s
2025-11-25 11:37:41 -08:00
4b5fe4f8df unit testing for interface
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 56s
2025-11-25 10:33:28 -08:00