|
|
fa40d15f5a
|
change toStrictEqual to toEqual for notification assertion
|
2025-02-04 11:40:02 -08:00 |
|
|
|
e667e89556
|
add test for if notification doesn't exist on repository
|
2025-02-04 11:35:24 -08:00 |
|
|
|
71698da173
|
fix assertion for nested graphql response
|
2025-02-04 11:33:48 -08:00 |
|
|
|
acc4d08716
|
add a test for cancelling notification
|
2025-02-04 11:32:33 -08:00 |
|
|
|
d7b15812f3
|
make responses mandatory for mutations
|
2025-02-04 11:30:26 -08:00 |
|
|
|
1627bc39fe
|
move duplicate code to method
|
2025-02-04 11:27:34 -08:00 |
|
|
|
69e2748eec
|
add additional check for notification service scheduling
|
2025-02-04 11:25:31 -08:00 |
|
|
|
94c15f93dd
|
add same test for stop resolvers + extract apollo request to function
|
2025-02-04 11:24:37 -08:00 |
|
|
|
cea7b48323
|
add mutation resolvers to merged resolvers
|
2025-02-04 11:22:17 -08:00 |
|
|
|
3a51d15e63
|
fix the resolver result
|
2025-02-04 11:21:54 -08:00 |
|
|
|
5687f7f600
|
add second test if shuttle ID doesn't exist in repository
|
2025-02-04 11:19:58 -08:00 |
|
|
|
0b9759aff1
|
update test cases and implement add notification test
|
2025-02-04 11:18:05 -08:00 |
|
|
|
8ac71090e4
|
make input mandatory
|
2025-02-04 11:01:27 -08:00 |
|
|
|
dccee459c3
|
add note on setupTestServerContext
|
2025-02-04 10:56:36 -08:00 |
|
|
|
b918bf7a67
|
update test helpers to consolidate ServerContext creation into one method
|
2025-02-04 10:56:00 -08:00 |
|
|
|
814f2c6584
|
change repository type to GetterSetterRepository to account for mutations
|
2025-02-04 10:52:07 -08:00 |
|
|
|
c79a3eac73
|
change method signatures for repository helpers to GetterSetterResponse interface
|
2025-02-04 10:51:41 -08:00 |
|
|
|
43f0ef27fc
|
fix typo
|
2025-02-04 10:43:33 -08:00 |
|
|
|
f1f1d5c971
|
remove cancelAllNotifications resolver
|
2025-02-04 10:42:12 -08:00 |
|
|
|
d54539e65b
|
add test cases
|
2025-02-04 10:41:35 -08:00 |
|
|
|
588d433fa3
|
add placeholder responses to get typescript to stop screaming
|
2025-02-04 10:36:46 -08:00 |
|
|
|
2116387203
|
add stubs for mutations
|
2025-02-04 10:35:50 -08:00 |
|
|
|
d730937b29
|
add notification support in schema
|
2025-02-04 10:27:06 -08:00 |
|
|
|
82a70ea04e
|
add notification service to server context
|
2025-02-04 10:12:19 -08:00 |
|
Brendan Chen
|
6c31346d65
|
Merge pull request #17
feat/notification-service
|
2025-02-03 23:58:24 -08:00 |
|
|
|
9048d2f1bc
|
remove todo for now
|
2025-02-03 23:54:37 -08:00 |
|
|
|
4a63929cc1
|
remove cancelAllNotifications method (one less method to test
|
2025-02-03 23:50:00 -08:00 |
|
|
|
629fe4dddd
|
add cancelNotificationIfExists implementation
|
2025-02-03 23:48:53 -08:00 |
|
|
|
403bec7c63
|
rename method to define what happens if notification doesn't exist
|
2025-02-03 23:45:55 -08:00 |
|
|
|
d1db9b3742
|
add test for cancelNotification
|
2025-02-03 23:45:30 -08:00 |
|
|
|
3e4f6e5440
|
remove empty test file
|
2025-02-03 23:29:45 -08:00 |
|
|
|
80e976752b
|
change behavior for missing shuttle/stop/ETA
|
2025-02-03 23:29:01 -08:00 |
|
|
|
6473661607
|
add tests for getAPNsFullUrlToUse
|
2025-02-03 23:26:16 -08:00 |
|
|
|
aff82a8185
|
fix binding errors with static method
|
2025-02-03 23:26:04 -08:00 |
|
|
|
c593fe14e1
|
make getAPNsFullUrlToUse public and testable
|
2025-02-03 23:23:21 -08:00 |
|
|
|
602ccf8139
|
update tests to wait for the publisher event to be sent
|
2025-02-03 23:20:42 -08:00 |
|
|
|
b3b4b71e22
|
extract seconds number to public readonly class property
|
2025-02-03 23:15:05 -08:00 |
|
|
|
11ea0518fe
|
extract notification/eta data into function
|
2025-02-03 23:13:27 -08:00 |
|
|
|
0cd7c2fe47
|
add export for scheduled notification data
|
2025-02-03 23:13:13 -08:00 |
|
|
|
179fa07d36
|
make polling function a global function
|
2025-02-03 23:07:55 -08:00 |
|
|
|
b252adb5d4
|
use waitForCondition function to poll for data update
|
2025-02-03 23:06:28 -08:00 |
|
|
|
64931e7546
|
remove redundant comments
|
2025-02-03 23:00:18 -08:00 |
|
|
|
4c8658a3d9
|
bind all other methods to class
|
2025-02-03 22:52:35 -08:00 |
|
|
|
16d2d4b4ef
|
add seconds threshold for notification
|
2025-02-03 22:47:17 -08:00 |
|
|
|
d357af7509
|
add shuttle and stop to repository within test
|
2025-02-03 22:42:50 -08:00 |
|
|
|
103ddef523
|
add handling for error and successful return
|
2025-02-03 22:42:25 -08:00 |
|
|
|
c5c0208371
|
add request code
|
2025-02-03 22:16:53 -08:00 |
|
|
|
f602aa6c2c
|
add method to determine which url to use
|
2025-02-03 22:03:28 -08:00 |
|
|
|
18402401e3
|
rename token variable for clarity
|
2025-02-03 21:57:42 -08:00 |
|
|
|
339148c890
|
implement test which checks if notification stays scheduled
|
2025-02-03 21:55:26 -08:00 |
|