diff --git a/src/tests/handlers/scheduledEventHandler.test.ts b/src/tests/handlers/scheduledEventHandler.test.ts index 91cb6bb..01b31b1 100644 --- a/src/tests/handlers/scheduledEventHandler.test.ts +++ b/src/tests/handlers/scheduledEventHandler.test.ts @@ -1,4 +1,5 @@ import { + syncExternalAccounts, syncIdle7dUsers, syncIdleUsers, syncNickNames, @@ -114,6 +115,10 @@ describe('sync apis', () => { await testSyncFunction(syncIdleUsers, 'discord-actions/group-idle', 'PUT'); }); + it('should sync external accounts', async () => { + await testSyncFunction(syncExternalAccounts, 'external-accounts/users?action=discord-users-sync', 'POST'); + }); + it('should sync nicknames', async () => { await testSyncFunction(syncNickNames, 'discord-actions/nicknames/sync?dev=true', 'POST'); });