Commit Graph

138 Commits

Author SHA1 Message Date
8f66b9ddfb add missing tests according to coverage report 2025-01-21 14:37:21 -08:00
0d9d935a9e add rest of tests (mostly generated) 2025-01-21 14:27:18 -08:00
70717d6476 add test cases and implementations for system getters 2025-01-21 14:25:05 -08:00
26d82390c6 remove ApiBasedRepository.ts and tests 2025-01-21 13:26:52 -08:00
ceec9b7617 update test to account for multiple shuttle IDs in data 2025-01-09 14:00:52 -08:00
8cd6c71206 move json snapshots to separate directory 2025-01-09 13:51:55 -08:00
3abbfbb26d disable getShuttlesByRouteId tests for now 2025-01-08 17:40:37 -08:00
432c8600be update test for getShuttleById 2025-01-08 17:37:04 -08:00
f7ec46dacd disable test for TTL check 2025-01-08 17:28:42 -08:00
f865544e49 add getStopById test for getEtasForStopId 2025-01-08 17:26:05 -08:00
365031384c stub getShuttleById in getEtasForShuttleId 2025-01-08 17:23:36 -08:00
f53774bb2f fix syntax error in getEtasForShuttleId test 2025-01-08 17:21:16 -08:00
c0e73d945a fix faulty getEtasForShuttleId test 2025-01-08 17:20:29 -08:00
9d5d499fb6 stub out getStopById in test for updateEtasForSystemIfTTL 2025-01-08 17:17:29 -08:00
a66e0ce9ad fix test data in ApiBasedRepositoryTests 2025-01-08 16:39:30 -08:00
55501a0d92 update getEtaForShuttleAndStopId test to use method stubs 2025-01-08 16:30:23 -08:00
c869091fff add to-do for cleanup 2025-01-07 21:06:29 -08:00
01c4afc4f4 add tests for getShuttlesBySystemId 2025-01-07 21:04:41 -08:00
77c2d88ba2 add test cases for getShuttlesBySystemIzd 2025-01-07 20:47:26 -08:00
0a7b6ab510 add test for getting new data 2025-01-07 20:37:42 -08:00
12ebd97068 add test for old data 2025-01-07 20:34:46 -08:00
4cfff7fcca add mock api response and first test for getShuttleById 2025-01-07 20:29:54 -08:00
792476a59b add tests for getShuttleById 2025-01-07 20:24:15 -08:00
f442c6b279 Revert "change caching and repository api to include system id initializer"
This reverts commit e7e915a8b1.
2025-01-07 20:07:05 -08:00
e7e915a8b1 change caching and repository api to include system id initializer 2025-01-07 20:02:12 -08:00
9db745bd12 add test for updateEtasForSystemIfTTL for updating data 2025-01-07 19:41:01 -08:00
2e7ffa89a0 add test for updateEtasForSystemIfTTL if data is not TTL 2025-01-07 19:29:43 -08:00
b22aeef8cf add test cases for updateEtasForSystemIfTTL 2025-01-07 16:16:19 -08:00
2e37249bd1 add tests for getEtasForStopId 2025-01-07 16:12:52 -08:00
e9864da680 add tests for getEtasForShuttleId 2025-01-07 16:10:50 -08:00
37909c8dbb add test for getEtasForShuttleId cache 2025-01-07 15:53:25 -08:00
c48fd0d604 use global fetch mock for old data test 2025-01-07 15:30:36 -08:00
0f7f02239c fix incorrect value in test 2025-01-07 15:30:12 -08:00
535c24b2e4 add rest of tests 2025-01-07 15:29:01 -08:00
9f2b060c04 rename test file and add first ETA test 2025-01-07 15:06:16 -08:00
0f9ba4c3f0 add additional test cases for ETA data 2025-01-07 14:34:48 -08:00
440bdc9edd add mocking functions for tests 2025-01-07 14:24:21 -08:00
00c3a61095 add sample test 2024-12-30 15:06:53 -08:00