Commit Graph

204 Commits

Author SHA1 Message Date
339148c890 implement test which checks if notification stays scheduled 2025-02-03 21:55:26 -08:00
711caa1d15 add a second notification to schedule for the test 2025-02-03 21:52:01 -08:00
fba021d921 Merge branch 'main' into feat/notification-service 2025-02-03 21:31:46 -08:00
69525a643d add another test to see if the data actually gets scheduled 2025-02-03 21:26:59 -08:00
f8ff7f9cc9 add testing logic for scheduleNotification test 2025-02-02 15:13:13 -08:00
311906d88d update sample key 2025-02-02 14:55:59 -08:00
8605b2087a add sample key and mock fs return value 2025-02-02 14:52:07 -08:00
998dcaa9c7 add process.env variables 2025-02-02 14:48:03 -08:00
3ff041dd4e add tests for reloadAPNsTokenIfTimePassed 2025-02-02 14:46:21 -08:00
e0820cd17b add test setup 2025-02-02 14:42:32 -08:00
a69ab5853c update test cases for notification service 2025-02-02 14:28:10 -08:00
88ab399c11 rename methods for clarity 2025-02-02 13:49:59 -08:00
62b040fccd add test cases for class 2025-02-02 13:49:00 -08:00
fe16bc7124 add test case for nonexistent callback 2025-02-02 13:16:28 -08:00
b30e4be895 rename methods for clarity on method events 2025-02-02 13:14:45 -08:00
047ff3a56e add test cases for the new functions 2025-02-02 13:09:54 -08:00
899b953be5 add test cases 2025-02-02 13:05:13 -08:00
5957010a7f add test cases and documentation for functions 2025-02-02 13:04:03 -08:00
d0359e22cc add NotificationService class with stubs, and test file 2025-02-02 12:43:52 -08:00
6f1464d55a add test for object as key use case 2025-01-29 17:07:35 -08:00
0bd85ce305 add tests for tuple key type 2025-01-29 16:56:52 -08:00
e1fd1714b9 move mock data generators into test helpers folder 2025-01-29 15:35:15 -08:00
d41a9ccc22 remove setUpTestServer function export 2025-01-29 15:28:32 -08:00
894fbc5a8d rename apollo helper to apolloTestServerHelpers 2025-01-29 15:27:59 -08:00
0344e7b99b use server context method for other resolver tests 2025-01-29 15:26:23 -08:00
7586ebba04 optimize imports for resolver tests 2025-01-29 15:09:31 -08:00
d69197acd8 update eta resolver tests to use new method 2025-01-29 15:08:18 -08:00
fbd0c76b70 extract test server context code into separate method 2025-01-29 15:07:02 -08:00
23ee9ce06b fix failing ordered stop test due to missing system id 2025-01-29 00:08:56 -08:00
fd4a92e34b add shuttle tests 2025-01-29 00:01:36 -08:00
749afc5147 add tests for route resolver 2025-01-28 21:56:59 -08:00
b6356c64e8 add SystemResolvers.stop tests 2025-01-28 21:52:18 -08:00
88d02887e7 add tests to get stops, routes, and shuttles 2025-01-28 21:31:56 -08:00
b3cf13ec4e add queries for resolvers 2025-01-28 20:52:51 -08:00
f391b66b7c add test server and repository for system resolvers 2025-01-28 20:44:18 -08:00
50078adc31 add test cases for system resolvers 2025-01-28 20:40:58 -08:00
fe705ed8e3 add mock shuttle and mock eta methods 2025-01-28 20:35:18 -08:00
3fd8efdd8a add addMockRouteToRepository and addMockStopToRepository methods 2025-01-28 20:31:06 -08:00
2d4f866308 add test cases for orderedStop resolver 2025-01-28 16:26:31 -08:00
2a56bfb3ef add test cases for shuttles resolver 2025-01-28 16:21:54 -08:00
f2c1f605ae add queries and execution methods 2025-01-28 16:17:20 -08:00
b09228fe5d add test cases for route resolver tests 2025-01-28 15:56:25 -08:00
2b3d292b4d move response fetch to common method and use single expectedEta object across both tests 2025-01-28 15:52:23 -08:00
9c35b03a5b update test data for correctness 2025-01-28 15:47:06 -08:00
caf85a39ad add test case for eta stop 2025-01-28 15:44:53 -08:00
f198af8b13 use addMockSystemToRepository method in other tests 2025-01-28 15:35:49 -08:00
4b84527fa4 extract mock system add to repository setup helpers file 2025-01-28 15:33:38 -08:00
d03a99ee06 add test cases for eta resolver tests 2025-01-28 15:30:54 -08:00
96846cbd88 add remaining test cases for ordered stop resolvers 2025-01-28 15:25:09 -08:00
95492bd319 remove testcases for null values (no effect on test coverage) 2025-01-28 15:08:44 -08:00