Commit Graph

749 Commits

Author SHA1 Message Date
3db6a067fc fix no failing on typescript errors in deploy
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 1m53s
2025-12-21 22:35:03 -08:00
de5425ef91 more refactor
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2025-12-21 21:14:22 -08:00
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
15f759cbc4 more unit test fixes + some integration
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h21m56s
2025-12-21 14:54:41 -08:00
0cf4ca02b7 large mock refector hopefully done + no errors?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h19m21s
2025-12-21 12:38:53 -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
391d00ae15 more test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h8m48s
2025-12-20 19:40:49 -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
bf4646fbe5 fix ing the mock mock mock !
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h4m27s
2025-12-20 11:50:21 -08:00
74ed4d2d3d mock mock mock !
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 1h1m15s
2025-12-19 22:55:51 -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
e62739810e moar fixes + unit test review of routes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 57m53s
2025-12-19 14:20:22 -08:00
aa437d6139 moar fixes + unit test review of routes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 56m46s
2025-12-19 11:20:07 -08:00
2a8b1b8617 moar fixes + unit test review of routes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 55m32s
2025-12-19 05:58:28 -08:00
7b1b67d2ed MORE UNIT TESTS - approx 94% before - 96% now?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 54m59s
2025-12-19 03:07:50 -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
ac304106f5 MORE UNIT TESTS - approc 94% before - 96% now?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 50m37s
2025-12-18 18:55:10 -08:00
07df85f72f unit test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 48m56s
2025-12-18 17:51:12 -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
0d91c58299 unit test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 43m18s
2025-12-18 10:24:17 -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
6c17f202ed refactor AI Analysis system
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 39m7s
2025-12-17 17:00:11 -08:00
711f65003a one moar time - we can do it? 3 errors now
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2025-12-17 16:27:27 -08:00
792bf7f237 one moar time - we can do it? 4 errors now
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 38m18s
2025-12-17 14:44:23 -08:00
13bdf1b76e one moar time - we can do it?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 35m48s
2025-12-17 12:03:02 -08:00
ed2eb1743e one moar time - we can do it?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 34m45s
2025-12-17 10:49:46 -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
1d18646818 console output in tests?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 31m43s
2025-12-16 20:32:06 -08:00
84d6b74b1c Refactor: Adjust test timeout and enable verbose output for unit and integration tests in deploy-to-test workflow
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 30m14s
2025-12-16 19:32:36 -08:00
a25eafc062 Refactor: Add @testing-library/user-event dependency and enhance tests with improved logging and error handling for better clarity and maintainability
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 31m47s
2025-12-16 18:50:45 -08:00
a64e74f61d Refactor: Enhance logging and error handling in useAiAnalysis and AdminBrandManager for improved clarity and maintainability
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 28m42s
2025-12-16 14:09:36 -08:00
4277adac75 Refactor: Improve logging and error handling in tests and components for better clarity and maintainability
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 25m9s
2025-12-16 12:44:26 -08:00
9be01a9dc2 Refactor: Enhance test robustness by using form submission in ProfileManager and improve logging in FlyerUploader tests
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 23m6s
2025-12-16 11:24:05 -08:00
9f9aa884ea Refactor: Enhance logging and error handling in FlyerUploader and ProfileManager tests for improved clarity and robustness
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 23m21s
2025-12-16 10:42:12 -08:00
88f856c141 Refactor: Simplify event handling in FlyerUploader tests and enhance form submission in ProfileManager for improved clarity and robustness
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 22m11s
2025-12-16 09:44:15 -08:00
f025cc20c3 Refactor: Improve test synchronization and logging in FlyerUploader and ProfileManager for better clarity and error handling
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 19m58s
2025-12-16 02:50:19 -08:00
a63ac92949 Refactor: Remove verbose logging and improve error handling in checksum utilities for clarity and maintainability
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2025-12-16 02:31:39 -08:00
2cec27c03b Refactor: Stabilize API function in AuthProvider using useCallback and optimize value memoization
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 18m45s
2025-12-16 01:41:40 -08:00
f34c66bab1 Refactor: Enhance logging and error handling in FlyerUploader, AuthProvider, and checksum utilities for improved debugging and maintainability
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 17m58s
2025-12-16 01:07:22 -08:00
56adc38171 Refactor: Update FlyerUploader tests to ensure proper timer advancement for polling cycles and improve clarity in assertions
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 16m31s
2025-12-16 00:01:38 -08:00
d1cd0b332e Refactor: Improve test assertions and error messages in useAuth and recipe routes tests for clarity
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 15m14s
2025-12-15 23:31:59 -08:00
74655a5f17 Refactor: Simplify FlyerUploader tests by improving mock usage and enhancing clarity in polling logic
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 14m7s
2025-12-15 22:45:50 -08:00
e1536e24b9 Refactor: Update FlyerUploader tests to improve job status mocking and enhance clarity in polling logic
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 12m44s
2025-12-15 22:15:17 -08:00
9f5de1168d Refactor: Update error messages in user routes tests for clarity and consistency
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 11m44s
2025-12-15 21:32:44 -08:00
d6724d7897 Refactor: Enhance findUserByRefreshToken tests to include rowCount for improved query validation
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 10m45s
2025-12-15 21:12:27 -08:00
cc0ede2ef9 Refactor: Replace MSW mock server with global fetch mock for handling token refresh in API client tests
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 9m57s
2025-12-15 20:55:24 -08:00
e6968987b9 Refactor: Add centralized error handling middleware to improve test stability and error reporting across all route tests
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 8m59s
2025-12-15 20:08:35 -08:00
08340a4cf2 Refactor: Introduce requiredString helper for consistent validation across routes and services
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 8m21s
2025-12-15 19:19:23 -08:00
d5f185ad99 Refactor tests and improve error handling across various services
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 10m38s
- Updated `useAuth` tests to use async functions for JSON responses to avoid promise resolution issues.
- Changed `AdminBrandManager` tests to use `mockImplementation` for consistent mock behavior.
- Enhanced `ProfileManager.Authenticated` tests to ensure proper error handling and assertions for partial updates.
- Modified `SystemCheck` tests to prevent memory leaks by using `mockImplementation` for API calls.
- Improved error handling in `ai.routes.ts` by refining validation schemas and adding error extraction utility.
- Updated `auth.routes.test.ts` to inject mock logger for better error tracking.
- Refined `flyer.routes.ts` to ensure proper validation and error handling for flyer ID parameters.
- Enhanced `admin.db.ts` to ensure specific errors are re-thrown for better error management.
- Updated `budget.db.test.ts` to improve mock behavior and ensure accurate assertions.
- Refined `flyer.db.ts` to improve error handling for race conditions during store creation.
- Enhanced `notification.db.test.ts` to ensure specific error types are tested correctly.
- Updated `recipe.db.test.ts` to ensure proper handling of not found errors.
- Improved `user.db.ts` to ensure consistent error handling for user retrieval.
- Enhanced `flyerProcessingService.server.test.ts` to ensure accurate assertions on transformed data.
- Updated `logger.server.ts` to disable transport in test environments to prevent issues.
- Refined `queueService.workers.test.ts` to ensure accurate mocking of email service.
- Improved `userService.test.ts` to ensure proper mock implementations for repository classes.
- Enhanced `checksum.test.ts` to ensure reliable file content creation in tests.
- Updated `pdfConverter.test.ts` to reset shared state objects and mock implementations before each test.
2025-12-15 16:40:13 -08:00